2006/11/27, Michael Van Canneyt <[EMAIL PROTECTED]>:
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 ?
In fact just adding lazjpeg was not working because my project could
not find the unit, but I did add the package to the project (in
package editor) and now it is working perfectly!
--
Alexandre Leclerc
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives