Recent

Author Topic: JPEG images  (Read 5674 times)

Neuromancer

  • New Member
  • *
  • Posts: 44
    • My personal website
JPEG images
« on: August 31, 2007, 01:20:59 pm »
Hi,

I would like to know how to use a JPEG image in a Lazarus application.

RudieD

  • Full Member
  • ***
  • Posts: 234
RE: JPEG images
« Reply #1 on: August 31, 2007, 06:52:36 pm »
Put TImage on from.

ObjectInspector->Picture (Click '...') and load the file or in the code Image1.Picture.LoadFromFile('MyOic.jpg').

PS: Make sure you have installed the jpegforlazarus package.
The FRED Trainer. (Training FRED with Lazarus/FPC)

 

TinyPortal © 2005-2018