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
- 目录