2007.03.06 05:33 "[Tiff] load a jpeg in bitmap", by Enzo Costantini

2007.03.06 05:33 "[Tiff] load a jpeg in bitmap", by Enzo Costantini

Hi,

Is anybody who can tell me what I'd make to load a JPeg in a Bitmap using LibJPegFelphi? I have imported the procedures

procedure jpeg_stdio_src(cinfo: PRJpegDecompressStruct; InStream: Pointer ); cdecl; external;

procedure jpeg_stdio_dest(cinfo: PRJpegCompressStruct; OutStream: Pointer ); cdecl; external;

and linked two object files:

{$L JpegObj\jdatasrc.obj}
{$L JpegObj\jdatadst.obj}

and then?
Somebody help me!!!!!

Enzo