go to bug id or search bugs for
Converting from TIFF to PNG does not fail, but leaves handle as TIFF
This used to be compiled against graphicsmagick however this doesn't seem to be an option anymor. Imagemagick on Gentoo has a splay tree bug.
imagick_convert( $handle , "PNG" );
A handle to a PNG image
Handle reports as image/png but blob magick is "II" which indicates a TIFF.
No errors logged in in php, apache or console.
Add a Patch
Add a Pull Request
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PECL.
If you write it on disk do you get a PNG or TIFF image?
Is your ImageMagick compiled with TIFF support?
When you run "identify -list format" (in shell) can you see TIFF in the list?
Looks like my comment was discarded.
1. Run identify -list format in shell. Can you see TIFF in the list? (If not I assume your Imagemagick was not compiled with TIFF support. )
2. If you write the handle to file do you get a TIFF or a PNG file? (Use "file" utility in shell to determine the type)
TIFF* TIFF rw+ Tagged Image File Format (LIBTIFF, Version 3.8.2)
document.png: TIFF image data, little-endian
These files are from multi-paged TIFF documents at 200 DPI monochrome and 11x17.
What version of ImageMagick / GraphicsMagick are you using?
Thank you for taking the time to report a problem with the package.
Unfortunately you are not using a current version of the package --
the problem might already be fixed. Please download a new
version from http://pecl.php.net/packages.php
If you are able to reproduce the bug with one of the latest
versions, please change the package version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PECL.
Try the latest version.