THPDFJBIG2Decoder.LoadFromByteArray Method
Decodes JBIG2 image bytes with optional global-segment bytes into one-bit scanlines
Declaration
Function LoadFromByteArray(ImageData, GlobalData: TJBIG2ByteArray): Boolean; Overload;
Function LoadFromByteArray(ImageData: TJBIG2ByteArray): Boolean; Overload;
Unit
HPDFJBIG2
Parameters
| Name | Purpose |
|---|---|
ImageData | Raw byte payload embedded or validated by this API |
GlobalData | Raw byte payload embedded or validated by this API |
Return value
Returns a Boolean value
Usage notes
- Returns False when the active backend cannot decode the payload
- A later successful call replaces the previously decoded scanlines