Method DrawJPEG

Top  Previous  Next

function DrawJPEG(

x, y, w, h,

SourceW, SourceH: Integer; Buffer: PChar; BufLen: Integer): Integer;

 

Using this method you can export compressed JPEG data. Please provide the correct values for the parameters SourceW and SourceH. This is the native width and height of the JPEG image.

 

Also see DrawJPG and DrawPNG.