I think that the problem cause is a CMYKA images (i.e. CMYK images with alpha channel). PIL doesn't support such image type because internal image representation is limited by four channels. And only TIFF format provides such image type.<br>
<br><span id="result_box" class="" lang="en"><span class="hps">It would be</span> <span class="hps">interesting to know</span> <span class="hps">whether the PIL developers</span> <span class="hps">are planning to resolve this issue. It would be resolving at least as a workaround loading such images as a tuple of CMYK image and alpha channel as a separate grayscale image. This issue is highly important for our project.<br>
</span></span> <br>-- <br>Regards,<br><br>Igor Novikov<br>sK1 Project<br><a href="http://sk1project.org/" target="_blank">http://sk1project.org</a><br><br><br><div class="gmail_quote">On Thu, Nov 24, 2011 at 8:33 PM, Edward Cannon <span dir="ltr"><<a href="mailto:cannon.el@gmail.com">cannon.el@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div bgcolor="#FFFFFF"><div>It probably means that the file is corrupt. Try opening the file with another program. <br>
<br><br></div><div><div class="h5"><div><br>On Nov 18, 2011, at 9:18 AM, Josef Erlinger <<a href="mailto:erlinger@mozarteum.at" target="_blank">erlinger@mozarteum.at</a>> wrote:<br><br></div><div></div><blockquote type="cite">
<div>
Hi there,<br>
I tried to convert .tif to .jpeg format, it works for most of the
files but in some cases (at least one) I got this error message<br>
Error Message at opening: cannot identify image file<br>
In the folder where the corrupt .tif lies are 19 more .tif files
which were made at the same time with the same tool <br>
all the other works except the special one.<br>
I am pleased for any help.<br>
<br>
Python: 2.6<br>
PIL: 1.1.7<br>
IDE: Eclipse Indigo<br>
<br>
Thanks in advance<br>
<br>
Joey<br>
<div>-- <br>
<div>-- <br>
<p> <span> DI Josef Erlinger </span><br>
<span> IT-Systems Integrator, Software Engineer </span>
</p>
<p> <span> Internationale Stiftung Mozarteum
Salzburg <br>
Schwarzstr. 26<br>
5020 Salzburg, Austria<br>
T <a href="tel:%2B43%20%280%29%20662%20889%2040%2065" value="+436628894065" target="_blank">+43 (0) 662 889 40 65</a><br>
F <a href="tel:%2B43%20%280%29%20662%20889%2040%2068" value="+436628894068" target="_blank">+43 (0) 662 889 40 68</a><br>
E <a href="mailto:erlinger@mozarteum.at" target="_blank"></a><a href="mailto:erlinger@mozarteum.at" target="_blank">erlinger@mozarteum.at</a><br>
<a href="http://www.mozarteum.at/" target="_blank"></a><a href="http://www.mozarteum.at" target="_blank">www.mozarteum.at</a> </span></p>
<p> <span> <a href="http://www.mozarteum.at/content/newsletter" target="_blank">Newsletter
Stiftung Mozarteum</a><br>
<a href="http://www.facebook.com/StiftungMozarteum" target="_blank">Facebook
Stiftung Mozarteum</a><br>
ZVR: 438729131, UID: ATU33977907 </span></p>
</div>
</div>
</div></blockquote></div></div><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Image-SIG maillist - <a href="mailto:Image-SIG@python.org" target="_blank"></a><a href="mailto:Image-SIG@python.org" target="_blank">Image-SIG@python.org</a></span><br>
<span><a href="http://mail.python.org/mailman/listinfo/image-sig" target="_blank">http://mail.python.org/mailman/listinfo/image-sig</a></span><br></div></blockquote></div><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>
<br></blockquote></div><br><br clear="all"><br><br>