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 與 Height 必須與提供的掃描線陣列相符
- 接受 TJBIG2EncodeOptions 的 overload 可控制 symbol dictionary、有損比對與後端選擇
相關 API
- THPDFJBIG2Encoder
- THotPDF
- THPDFPage
- 目錄