THPDFJBIG2Encoder.EncodeToByteArray Method
Metodesammendrag: THPDFJBIG2Encoder.EncodeToByteArray Method
Deklaration
Function EncodeToByteArray(Const Scanlines: TJBIG2ScanlineArray; Width, Height: Integer; Var ImageData: TJBIG2ByteArray): Boolean; Overload;
Function EncodeToByteArray(Const Scanlines: TJBIG2ScanlineArray; Width, Height: Integer; Var ImageData, GlobalData: TJBIG2ByteArray; Const Options: TJBIG2EncodeOptions): Boolean; Overload;
Enhed
HPDFJBIG2
Parametre
| Navn | Formål |
|---|---|
Scanlines | Værdi: EncodeToByteArray |
Width | Koordinat |
Height | Koordinat |
ImageData | Bytes |
GlobalData | Bytes |
Options | Værdi: EncodeToByteArray |
Returværdi
Returnerer en værdi: Boolean
Brugsnoter
- Width and Height must match the supplied scanline array
- The overload with TJBIG2EncodeOptions controls symbol dictionaries, lossy matching, and backend selection
Relaterede API'er
- THPDFJBIG2Encoder
- THotPDF
- THPDFPage
- Indhold