Method DrawCCITT

Top  Previous  Next

function DrawCCITT(x, y, w, h, SourceColumns, SourceRows: Integer; mode : TWPCCITTMode; Buffer: PChar; BufLen: Integer): Integer;

 

Using this method you can export compressed CCITT data.

 

Please provide the correct values for the parameters SourceColumns and SourceRows.

This is the native width and height of the CCITT image.

 

Using mode you can select how the data is compressed:

  wpCCITT_31D, wpCCITT_32D, wpCCITT_42D

 

Please note that this command expects already compressed data without any header information. So it is not possible to simply pass a TIF file.