diff --git a/pdfbox-validation-model/src/main/java/org/verapdf/model/impl/pb/pd/images/PBoxPDXImage.java b/pdfbox-validation-model/src/main/java/org/verapdf/model/impl/pb/pd/images/PBoxPDXImage.java index 733caeca..6b8fdaad 100644 --- a/pdfbox-validation-model/src/main/java/org/verapdf/model/impl/pb/pd/images/PBoxPDXImage.java +++ b/pdfbox-validation-model/src/main/java/org/verapdf/model/impl/pb/pd/images/PBoxPDXImage.java @@ -59,6 +59,7 @@ public class PBoxPDXImage extends PBoxPDXObject implements PDXImage { public static final String INTENT = "Intent"; public static final String JPX_STREAM = "jpxStream"; public static final String S_MASK = "SMask"; + public static final String MASK = "Mask"; private final boolean interpolate; private List jpeg2000List = null; @@ -85,6 +86,11 @@ public Long getBitsPerComponent() { return (long)((PDImageXObjectProxy)simplePDObject).getBitsPerComponent(); } + @Override + public Boolean getisMask() { + return false; + } + @Override public Boolean getcontainsAlternates() { COSBase pageObject = this.simplePDObject.getCOSObject(); @@ -104,7 +110,9 @@ public List getLinkedObjects(String link) { case JPX_STREAM: return this.getJPXStream(); case S_MASK: - return this.getSMask(); + return this.getSMask(); + case MASK: + return Collections.emptyList(); default: return super.getLinkedObjects(link); }