When I try instantiating a .TGA image file using PHP/Imagick, I'm getting the message "no decode delegate for this image format":
Code: Select all
$img = new Imagick($filePath);
PHP Fatal error: Uncaught exception 'ImagickException' with message 'no decode delegate for this image format `/tmp/magick-XXT16rXm' @ constitute.c/ReadImage/530'
Code: Select all
convert file1.tga file1.jpg
A SOLUTION?
Do I need to install a delegate? I don't see a TGA delegate in the available downloads:
http://www.imagemagick.org/download/delegates/
CONFIG INFO:
- ImageMagick 6.6.0-4 2010-11-16 Q16
- Linux / Apache
- Here is my current delegate config (TGA is not shown):
Code: Select all
convert -list configure
.
.
.
DELEGATES bzlib djvu fontconfig freetype gvc jpeg jng jp2 lcms lqr openexr png rsvg tiff x11 xml wmf zlib
.
.
.
Code: Select all
identify -list format
.
.
.
TGA* TGA rw+ Truevision Targa image
.
.
.
Thank you!