Correct indexes in ICCProfile segment.

This commit is contained in:
Harald Kuhr 2017-12-19 21:20:26 +01:00
parent 8a3b8c4c03
commit 73a13fa849

View File

@ -50,7 +50,7 @@ final class ICCProfile extends Application {
@Override
public String toString() {
return "ICC_PROFILE[" + data[0] + "/" + data[1] + " length: " + data.length + "]";
return "ICC_PROFILE[" + data[12] + "/" + data[13] + " length: " + data.length + "]";
}
public static ICCProfile read(DataInput data, int length) throws IOException {