[EMAIL PROTECTED] wrote:
>> [EMAIL PROTECTED] wrote:
>>>>> 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.
>>> If you want to see the image you need to use ene of the images
>> packages mentioned before in your application. The default lazarus
>> win32 install had that package and can therefore show it.
>>
>> mm.... as an ordinary user, I don't think I find that logical.
>> IMO there is no difference between a bmp and a jpg. Where both were
>> shown in the IDE and only the first worked as expected.
>
> So, add one of the images packages to the default application?
Maybe a more generic thing. I think it counts for all code used from a
package. Add the package to the project depencencies the moment it is
used. I think this also counts for cotrols defined in a package for
instance.
Marc
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives