On Mon, 27 Nov 2006 23:36:03 +0100 (CET)
Michael Van Canneyt <[EMAIL PROTECTED]> wrote:

> 
> 
> On Mon, 27 Nov 2006, Alexandre Leclerc wrote:
> 
> > 2006/11/27, Alexandre Leclerc <[EMAIL PROTECTED]>:
> > > Hi all,
> > >
> > > I don't know why but the function is returning no reader
> > > for .jpg. Do I need to register a special class or do anything
> > > special?
> > 
> >  {$IFDEF UseSimpleJpeg}
> >  Add('jpg', 'Joint Picture Expert Group',TJpegImage);
> >  {$ENDIF}
> > 
> > Do I need any special settings or units or simply defining will
> > work? And where should I define that?
> 
> 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.

Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to