mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-05 04:25:29 -04:00
#708 PSD: No longer emit warning for '8B64' (64 bit/long) resources.
(cherry picked from commit 044317266609660c330d4ea60ecc259d2f269345)
This commit is contained in:
parent
f2624d5193
commit
135a631bcc
@ -944,7 +944,7 @@ public final class PSDImageReader extends ImageReaderBase {
|
||||
if (metadata.layerInfo == null) {
|
||||
while (imageInput.getStreamPosition() + 12 < metadata.layerAndMaskInfoStart + layerAndMaskInfoLength) {
|
||||
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)));
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user