THPDFJBIG2Encoder.EncodeToByteArray Method
方法摘要: THPDFJBIG2Encoder.EncodeToByteArray Method
宣告
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;
單元
HPDFJBIG2
參數
| 名稱 | 用途 |
|---|---|
Scanlines | 值: EncodeToByteArray |
Width | 座標 |
Height | 座標 |
ImageData | 位元組 |
GlobalData | 位元組 |
Options | 值: EncodeToByteArray |
傳回值
傳回值: Boolean
使用說明
- Width and Height must match the supplied scanline array
- The overload with TJBIG2EncodeOptions controls symbol dictionaries, lossy matching, and backend selection
相關 API
- THPDFJBIG2Encoder
- THotPDF
- THPDFPage
- 目錄