Search Docs
Loading...
Skip to content

Interface: ImportedImageMaskInfo

Experimental

Metadata returned for a PDF image mask.

Properties#

Property Type Description
width number Experimental Mask width in pixels.
height number Experimental Mask height in pixels.
decode number[] Experimental Two PDF /Decode endpoints, or an empty array for [0, 1].
interpolate boolean Experimental Whether the engine interpolates mask samples when resizing. Defaults to false.
matte number[] Experimental PDF /Matte components in the image’s source color space. Empty for stencil masks or absent matte.
kind ImportedImageMaskKind Experimental Whether the assigned mask is a stencil or soft mask.