THPDFJBIG2Encoder.EncodeToByteArray Method

Method summary: THPDFJBIG2Encoder.EncodeToByteArray Method

Declaration

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;

Unit

HPDFJBIG2

Parameters

NamePurpose
ScanlinesValue: EncodeToByteArray
WidthCoordinate
HeightCoordinate
ImageDataBytes
GlobalDataBytes
OptionsValue: EncodeToByteArray

Return value

Returns a value: Boolean

Usage notes

Related APIs