mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-04 20:15:28 -04:00
#708 PSD: No longer emit warning for '8B64' (64 bit/long) resources.
This commit is contained in:
parent
cee2663f06
commit
0443172666
@ -944,7 +944,7 @@ public final class PSDImageReader extends ImageReaderBase {
|
|||||||
if (metadata.layerInfo == null) {
|
if (metadata.layerInfo == null) {
|
||||||
while (imageInput.getStreamPosition() + 12 < metadata.layerAndMaskInfoStart + layerAndMaskInfoLength) {
|
while (imageInput.getStreamPosition() + 12 < metadata.layerAndMaskInfoStart + layerAndMaskInfoLength) {
|
||||||
int resSig = imageInput.readInt();
|
int resSig = imageInput.readInt();
|
||||||
if (resSig != PSD.RESOURCE_TYPE) {
|
if (resSig != PSD.RESOURCE_TYPE && resSig != PSD.RESOURCE_TYPE_LONG) {
|
||||||
processWarningOccurred(String.format("Bad resource alignment, expected: '8BIM' was '%s'", PSDUtil.intToStr(resSig)));
|
processWarningOccurred(String.format("Bad resource alignment, expected: '8BIM' was '%s'", PSDUtil.intToStr(resSig)));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user