<div class="gmail_quote">On Sat, Mar 7, 2009 at 01:26, Fredrik Lundh <span dir="ltr"><<a href="mailto:fredrik@pythonware.com">fredrik@pythonware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks to Tim and Charlie, I now have a set of nice Photoshop CMYK<br>
samples to play with. The first result is a revamp of Kevin's CMYK<br>
patch; I'm now doing the inversion at the codec levels, both when<br>
reading and writing. Also, the code *always* assumes Adobe behaviour,<br>
in both directions. The current version of the plugin is here:<br>
<br>
<a href="http://bitbucket.org/effbot/pil-2009-raclette/src/e351bc0228c4/PIL/JpegImagePlugin.py" target="_blank">http://bitbucket.org/effbot/pil-2009-raclette/src/e351bc0228c4/PIL/JpegImagePlugin.py</a><br>
<br>
I *think* this does the right thing, but I'm not 100% sure. In other<br>
words, it would be helpful if those of you who've struggled with CMYK<br>
stuff can take this version for a test drive; it should work just fine<br>
together with a standard 1.1.6.<br>
</blockquote><div><br>Hi Fredrik,<br>
<br>
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.<br>
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).<br>(this worked fine with the earlier patches I used for 1.1.6 from Kevin Cazabon)<br>
<br>
The output of the pil setup summary:<br>
<br>
--------------------------------------------------------------------<br>
PIL 1.1.7a0 SETUP SUMMARY<br>
--------------------------------------------------------------------<br>
version 1.1.7a0<br>
platform darwin 2.5.1 (r251:54863, Jan 13 2009, 10:26:13)<br>
[GCC 4.0.1 (Apple Inc. build 5465)]<br>
--------------------------------------------------------------------<br>
--- TKINTER support available<br>
--- JPEG support available<br>
--- ZLIB (PNG/ZIP) support available<br>
--- FREETYPE2 support available<br>
--- LITTLECMS support available<br>
--------------------------------------------------------------------<br>
<br>
I have a couple of photos with which i have the problems. I could mail you these directly if you want.<br>
<br>
Thanks,<br>
Michael<br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
</F><br>
_______________________________________________<br>
Image-SIG maillist - <a href="mailto:Image-SIG@python.org">Image-SIG@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/image-sig" target="_blank">http://mail.python.org/mailman/listinfo/image-sig</a><br>
</blockquote></div><br>