"John Christenhusz" <[EMAIL PROTECTED]> wrote on 1/02/2001 08:22:33:
>
>Hi Laurence,
>
>U wrote:
>> You need to include the Jpeg.pas file in your unit.
>Is this a standard Delphi file? I can't find this file on my system.
Try just including jpeg in the 'uses' clause of your program - I
believe it's distributed as a DCU.
>I still wonder, why can TImage load a BMP or JPG image at design-time
>but can't load the same JPG at run-time?
The image loader in Delphi decodes the jpeg to a bitmap and stores that
in the TImage. It's an editor, not part of the functionality of TImage
itself.
--
Corey Murtagh
The Electric Monk
"Quidquid latine dictum sit, altum viditur!"
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"