On Sat, Mar 7, 2009 at 01:26, Fredrik Lundh <fred...@pythonware.com> wrote:
> Thanks to Tim and Charlie, I now have a set of nice Photoshop CMYK > samples to play with. The first result is a revamp of Kevin's CMYK > patch; I'm now doing the inversion at the codec levels, both when > reading and writing. Also, the code *always* assumes Adobe behaviour, > in both directions. The current version of the plugin is here: > > > http://bitbucket.org/effbot/pil-2009-raclette/src/e351bc0228c4/PIL/JpegImagePlugin.py > > I *think* this does the right thing, but I'm not 100% sure. In other > words, it would be helpful if those of you who've struggled with CMYK > stuff can take this version for a test drive; it should work just fine > together with a standard 1.1.6. > Hi Fredrik, I've just tested my application with the PIL 1.1.7 tip and latest alpha and still have problems with the conversion from CMYK jpeg to RGB. The test images mailed earlier on this mailinglist (black background with the text 'RED') somehow become yellow on my system (python 2.5 / osx leopard). (this worked fine with the earlier patches I used for 1.1.6 from Kevin Cazabon) The output of the pil setup summary: -------------------------------------------------------------------- PIL 1.1.7a0 SETUP SUMMARY -------------------------------------------------------------------- version 1.1.7a0 platform darwin 2.5.1 (r251:54863, Jan 13 2009, 10:26:13) [GCC 4.0.1 (Apple Inc. build 5465)] -------------------------------------------------------------------- --- TKINTER support available --- JPEG support available --- ZLIB (PNG/ZIP) support available --- FREETYPE2 support available --- LITTLECMS support available -------------------------------------------------------------------- I have a couple of photos with which i have the problems. I could mail you these directly if you want. Thanks, Michael > > </F> > _______________________________________________ > Image-SIG maillist - Image-SIG@python.org > http://mail.python.org/mailman/listinfo/image-sig >
_______________________________________________ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig