From d329edebaaca3fc061cea6ce5d88ebdc7b71518c Mon Sep 17 00:00:00 2001 From: Maxim Date: Thu, 10 Oct 2024 20:31:48 +0300 Subject: [PATCH] Add type PDMaskImage --- src/main/java/PDLayer.mdl | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/main/java/PDLayer.mdl b/src/main/java/PDLayer.mdl index 3025ebf..de0fec6 100644 --- a/src/main/java/PDLayer.mdl +++ b/src/main/java/PDLayer.mdl @@ -440,10 +440,14 @@ type PDXImage extends PDXObject { link jpxStream: JPEG2000?; % link to the soft mask image (SMask key) link SMask: PDSMaskImage?; + % link to the mask image (Mask key) + link Mask: PDMaskImage?; % true if the image dictionary contains Alternates key property containsAlternates: Boolean; % value of the BitsPerComponent key property BitsPerComponent: Integer; + % true, if this Image XObject is mask + property isMask: Boolean; } % SMask image @@ -453,6 +457,11 @@ type PDSMaskImage extends PDXImage { } +% Mask image +type PDMaskImage extends PDXImage { + +} + % Inline image object type PDInlineImage extends PDXImage { % link to the inline image filters