THPDFJBIG2Decoder.LastSegmentGraphValidationInfo Property
Retains the JBIG2 segment-graph validation report from the most recent decode so callers can inspect why a stream passed or failed before the decoded scanlines are used
Declaration
Property LastSegmentGraphValidationInfo: TJBIG2SegmentGraphValidationInfo Read FLastSegmentGraphValidationInfo;
Unit
HPDFJBIG2
Parameters
| Name | Purpose |
|---|---|
| This member does not expose explicit parameters | |
Return value
Returns the current last segment graph validation info value
Usage notes
- Read this property after
LoadFromByteArrayorLoadRegionFromByteArrayto obtain the sameTJBIG2SegmentGraphValidationInforecord the standaloneHPDFValidateJBIG2SegmentGraphroutine produces - The record is reset to
jbgvsNotCheckedat the start of every decode, and an empty image payload recordsjbgvsEmptyStreamwithFailureStreamKindset tojbsskImage Statusholds aTJBIG2SegmentGraphValidationStatusvalue, while segment and reference counts, declared new symbols, maximum dependency depth, and the first-failure offsets identify the exact cause- See JBIG2 Segment-Graph Validation for the fail-closed conditions and the budget fields of
TJBIG2SegmentGraphValidationOptions