> Mattias Gaertner wrote:
> >> Using the unit lazjpeg should be enough, no other code should be
> >> required ?
> >
> > Correct.
> > Normally when using the package (jpegforlazarus or images4lazarus), the
> > IDE adds the unit to program source and thus the lazjpeg unit is used.
>
> Now we are at the topic, last weekend I was demonstrating with a jpeg in
> a TPicture. When loading the image in the IDE, the *.jpg fiter wasn't
> there. However, when filtering for all files, selecting a .jpg worked.
> It's preview was shown. The image on the form was also shown. However,
> the compiled exe didn't show the image.
> This was on a win32 machine, with a default 0.9.20 install.
>
> Sidenote: Joost pointed me that the images are probably streamed by
> extention and not by its magic. He ran into "troubles" with this when he
> was implementing image blobs.
Sidenode 2: storage of pictures in .lfms is not endianess safe and platform
independant.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives