SamplesInverted Property

Definition

Assembly Broadside.dll

Gets a value indicating whether the codec delivered samples of the opposite polarity to the PDF convention (a JBIG2 codec that leaves 1 as black, say) and left inverting them to the image layer, which folds the inversion into the Decode mapping.

public bool SamplesInverted { get; }

Returns

Remarks

ISO 32000-2 §7.4.7 and §8.9.5.2. CreateDecodeMap(DecodedImage) and the stencil helpers take it into account; colour key masks (§8.9.6.4) compare the samples as the PDF file defines them, so a codec that sets it must not be used for colour-keyed images.