Hi,

I have the following code to load a jpeg from file test.jpg

var FImg: TFPMemoryImage;
        FImgReader: TFPReaderJpeg;

FImg:=TFPMemoryImage.create(0, 0);
FImgReader:=TFPReaderJPEG.Create;
                
FImg.LoadFromFile('test.jpg', FImgReader);

But the program hangs at loading the jpeg from the file. There is no AV, it 
just hangs and does nothing....
How do I have to load the jpeg correctly?

Sebastian

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to