Page 1 of 1

Largely transparent PNG to TIFF/PTIF corrupts image

Posted: 2010-11-08T08:40:03-07:00
by posterChild
I'm back again, and unfortunately, it's to seek more help rather than to help others.

I'm trying to create a PTIF of an image and whenever I execute the following command, I get a (presumably) corrupt image:

Code: Select all

convert.exe original_framegraphic.png ptif:original_framegraphic.tif[256x256]
Alternatively, I tried to create 'just' a TIFF

Code: Select all

convert.exe original_framegraphic.png tif:original_framegraphic.tif
This results in the same type of corrupt image. The frustrating part is that for other PNG images with transparency, it works as expected.

I'm beginning to think it's the libtiff library, but want to avoid recompiling that and Imagemagick this late in my development cycle. Any ideas/alternatives to get this image to process as a PTIF without corruption?

The image is posted below

http://www.mediafire.com/?kv8gwk9n466djmf

This occurs on Windows and Linux with the following versions:

Windows:
Version: ImageMagick 6.6.4-7 2010-09-24 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
Features: OpenMP

Linux:
Version: ImageMagick 6.6.2-0 2010-07-09 Q8 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC

Thanks in advance for any help!

posterChild

Re: Largely transparent PNG to TIFF/PTIF corrupts image

Posted: 2010-11-08T10:01:06-07:00
by magick
We can reproduce the problem you posted and will have a patch in ImageMagick 6.6.5-8 Beta by sometime tomorrow. Thanks,