Re: resize of jpeg images - install of PIL (Imaging-1.1.6)

"Michael Schulz" <mschulz-FJH3MN/[email protected]> Wed, 16 May 2007 15:26:02 +0200
Newsgroups gmane.comp.web.zope.cps.devel
Message-ID <[email protected]>
Hi Christophe,

make sure you have the dev-jpeg-lib package installed.
I had to put:

JPEG_ROOT = libinclude("/usr/local")

in setup.py. But that's after a src install.
Did you have a look at:
http://effbot.org/zone/pil-decoder-jpeg-not-available.htm

Cheers and good luck, Michael


2007/5/16, christophe leroy <[email protected]>:
> Hi!
>
> I am working with a redhat entreprise 3 and CPS 3.
>
> I have a problem to have the resize functionality for
> the jpeg images of my site. To have this
> functionality, I have to install Imaging
>
> When I run the build of Imaging (python setup.py
> build_ext -i), I have the message:
> "JPEG support not available"
>
> Do you have an idea to help me?
>
> One idea could be to modify the variable JPEG_ROOT in
> the setup.py file with the path of the jpeg library
> but I am not sure where is this library.
> I tried that:
> JPEG_ROOT="/usr/lib64"
> and when I launched the build of Imaging I did not
> have any problem. But then, I have a problem with the
> jpeg image  with the test script "selftest.py".
>
> Could you help to find a solution to have the resize
> functionality with CPS?
>
> Thanks,
>
> Christophe Leroy
>
>
>       _____________________________________________________________________________
> Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
> _______________________________________________
> cps-devel mailing list
> http://lists.nuxeo.com/mailman/listinfo/cps-devel
>


-- 
-----------------------------------------------------------
Michael Schulz
mschulz-FJH3MN/[email protected]

in medias res
Gesellschaft für Informationstechnologie mbH

In den Weihermatten 66
79108 Freiburg

Tel  +49 (0)761 556959-5
Fax +49 (0)761 556959-6

http://www.webgis.de / http://www.zopecms.de
-----------------------------------------------------------
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel