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.

It would be interesting to know whether the PIL developers 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.

-- 
Regards,

Igor Novikov
sK1 Project
http://sk1project.org


On Thu, Nov 24, 2011 at 8:33 PM, Edward Cannon <[email protected]> wrote:

> It probably means that the file is corrupt. Try opening the file with
> another program.
>
>
>
> On Nov 18, 2011, at 9:18 AM, Josef Erlinger <[email protected]> wrote:
>
> Hi there,
> 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
> Error Message at opening:  cannot identify image file
> In the folder where the corrupt .tif lies are 19 more .tif files which
> were made at the same time with the same tool
> all the other works except the special one.
> I am pleased for any help.
>
> Python: 2.6
> PIL: 1.1.7
> IDE: Eclipse Indigo
>
> Thanks in advance
>
> Joey
> --
> --
>
>  DI Josef Erlinger
>  IT-Systems Integrator, Software Engineer
>
>  Internationale Stiftung Mozarteum Salzburg
> Schwarzstr. 26
> 5020 Salzburg, Austria
> T +43 (0) 662 889 40 65
> F +43 (0) 662 889 40 68
> E <[email protected]>[email protected]
>  <http://www.mozarteum.at/>www.mozarteum.at
>
>  Newsletter Stiftung Mozarteum<http://www.mozarteum.at/content/newsletter>
> Facebook Stiftung Mozarteum <http://www.facebook.com/StiftungMozarteum>
> ZVR: 438729131, UID: ATU33977907
>
> _______________________________________________
> Image-SIG maillist  -   <[email protected]>[email protected]
> http://mail.python.org/mailman/listinfo/image-sig
>
>
> _______________________________________________
> Image-SIG maillist  -  [email protected]
> http://mail.python.org/mailman/listinfo/image-sig
>
>
_______________________________________________
Image-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to