Converting TIF to GIF produces all black image - Urgent Help
Posted: 2007-10-12T13:57:24-07:00
Having a problem using MagickWand PHP extension.
When trying to convert some TIF to a GIF the end result comes out as a solid black box.
ImageMagick Version: 6.3.5-10 Q8 (9/15/07)
MagickWand PHP Extension: php-5.2.4_magickwand_q8_st.dll
OS: Windows Server 2003
Here is the code I am using.
Here is the file it produces
http://209.196.35.199/extracts/74406.gif
Here is the original file I am trying to convert.
http://209.196.35.199/temp/74406.tif
Please help
I'm stumped. Spent over 10 hours on this problem.
When trying to convert some TIF to a GIF the end result comes out as a solid black box.
ImageMagick Version: 6.3.5-10 Q8 (9/15/07)
MagickWand PHP Extension: php-5.2.4_magickwand_q8_st.dll
OS: Windows Server 2003
Here is the code I am using.
Code: Select all
$MagickWand = NewMagickWand();
$readimage = MagickReadImage($MagickWand, "temp/74406.tif");
MagickSetImageFormat($MagickWand, "GIF");
MagickWriteImage($MagickWand, "extracts/74406.gif");
http://209.196.35.199/extracts/74406.gif
Here is the original file I am trying to convert.
http://209.196.35.199/temp/74406.tif
Please help
I'm stumped. Spent over 10 hours on this problem.