THPDFJBIG2Encoder.EncodeToByteArray Method
Tóm tắt phương thức: THPDFJBIG2Encoder.EncodeToByteArray Method
Khai báo
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;
Đơn vị
HPDFJBIG2
Tham số
| Tên | Mục đích |
|---|---|
Scanlines | Giá trị: EncodeToByteArray |
Width | Tọa độ |
Height | Tọa độ |
ImageData | Byte |
GlobalData | Byte |
Options | Giá trị: EncodeToByteArray |
Giá trị trả về
Trả về giá trị: Boolean
Ghi chú sử dụng
- Width and Height must match the supplied scanline array
- The overload with TJBIG2EncodeOptions controls symbol dictionaries, lossy matching, and backend selection
API liên quan
- THPDFJBIG2Encoder
- THotPDF
- THPDFPage
- Nội dung