Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-11

jpeglazarus install

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Ken Moffat

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

Ken

Reply by email

Mattias Gaertner
to Ken Moffat
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

Reply by email