[lazarus] jpeglazarus install

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Nov 23 12:21:20 EST 2003


On Sun, 23 Nov 2003 07:53:57 -0800  Ken Moffat <kmoffat at drizzle.com> wrote:

> I downloaded jpeglazarus.tgz, but there is no readme or install 
> procedure. jpeg is pretty much essential for me. Clues on installing, 
> please.

Just open the package in the IDE. It has no visual components, so install is
not needed. 

Add the package in the Project Inspector to your project dependencies and
TPicture will support jpeg.

Loading a jpeg:
Add the unit LazJPEG to your uses section.

Image:=TJPEGImage.Create;
Image.LoadFromFile('pic.jpg');


Mattias






More information about the Lazarus mailing list