[Image-SIG] Problem with TIFF compressed with JPEG

Cesare Leonardi ced at bernispa.com
Mon Feb 19 13:12:04 CET 2007


Hi all.
I'd like to know if somobody else can see this problem.

I have some TIFF images compressed with JPEG and if i try to convert 
them to another format (i've tryed with PNG, BMP and JPEG) the colour 
looks changed.

Even if i have reported a similar problem with JPEG CMYK, seems that 
this is another problem: the colours change in a different way.

I've have setup a web page with a sample image composed by the RGB 
colours and a simple piece of code that trigger the problem.
http://www.bernispa.com/pil/index2.html
The sample image is generated with Gimp, but i've verified that the 
problem shows even if the original image is generated with another app 
(i've tryed with IrfanView).
The particular thing is that this conversion happen (from the original 
image to the converted one):
RED   become GREEN
GREEN become BLUE
BLUE  become RED
BLACK become DARK-GREEN
WHITE become MAGENTA
And this is independent to the destination format, as can be seen.

My system is Windows 2000 Pro SP4, Python 2.5 and PIL 1.1.6 (vanilla).

Best regard.

Cesare.


More information about the Image-SIG mailing list