Page 1 of 1

Missing JPG, PNG, TIF in ImageMagick Supported formats

Posted: 2008-04-14T13:40:18-07:00
by danielmauch
Hi

I installed Imagick but i cannot see the ImageMagick Supported formats:
- JPG
- PNG
- TIF

Any ideas?

Here my phpinfo:
imagick
imagick module enabled
imagick module version 2.1.1
imagick classes Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator
ImageMagick version ImageMagick 6.4.0 04/12/08 Q16 http://www.imagemagick.org
ImageMagick copyright Copyright (C) 1999-2008 ImageMagick Studio LLC
ImageMagick release date 04/12/08
ImageMagick Number of supported formats: 162
ImageMagick Supported formats A, AI, ART, ARW, AVI, AVS, B, BMP, BMP2, BMP3, BRF, C, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DFONT, DNG, DOT, DPS, DPX, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, FAX, FITS, FRACTAL, FTS, G, G3, GIF, GIF87, GRADIENT, GRAY, HISTOGRAM, HTM, HTML, ICB, ICO, ICON, INFO, IPL, ISOBRL, K, K25, KDC, LABEL, M, M2V, MAP, MAT, MATTE, MIFF, MONO, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NULL, O, ORF, OTB, OTF, PAL, PALM, PAM, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PLASMA, PNM, PPM, PREVIEW, PS, PS2, PS3, PSD, PWP, R, RAF, RAS, RGB, RGBA, RGBO, RLA, RLE, SCR, SCT, SFW, SGI, SHTML, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TILE, TIM, TTC, TTF, TXT, UBRL, UIL, UYVY, VDA, VICAR, VID, VIFF, VST, WBMP, WMF, WMZ, WPG, X3F, XBM, XC, XCF, XPM, XPS, XV, Y, YCbCr, YCbCrA, YUV

Directive Local Value Master Value
imagick.locale_fix 0 0

Re: Missing JPG, PNG, TIF in ImageMagick Supported formats

Posted: 2008-04-14T14:06:06-07:00
by Bonzo
I would post this in the Imagick forum: http://redux.imagemagick.org/discourse- ... m.php?f=18

You can run this and see what ImageMagick has installed:

Code: Select all

<?php
// Build the array of items to be used
exec("convert convert -list list", $IMarray, $code);
// Start the loop to find and display the results
foreach ($IMarray as $value) {
echo "<br>system (\"convert -list $value\")";
echo "<pre>";
system("convert -list $value");
echo "</pre><hr>";
}
?>

Re: Missing JPG, PNG, TIF in ImageMagick Supported formats

Posted: 2008-04-14T14:21:10-07:00
by danielmauch
the result is empty ?!

Re: Missing JPG, PNG, TIF in ImageMagick Supported formats

Posted: 2008-04-14T14:27:30-07:00
by Bonzo
Probably my fault as I have convert in twice!!!!

Code: Select all

<?php
// Build the array of items to be used
exec("convert -list list", $IMarray, $code);
// Start the loop to find and display the results
foreach ($IMarray as $value) {
echo "<br>system (\"convert -list $value\")";
echo "<pre>";
system("convert -list $value");
echo "</pre><hr>";
}
?>
Thats strange it works with 2 converts and 2 lists; I will have to check this tomorrow.

The other thing is do you need to put the path to convert something like /usr/local/bin/convert

Re: Missing JPG, PNG, TIF in ImageMagick Supported formats

Posted: 2008-04-14T16:24:52-07:00
by fmw42
To see what image formats you have properly compiled delegates for, run

convert -list configure

then look at the line in the text that starts with

DELEGATES

For example on my system, I have:

DELEGATES bzlib fontconfig freetype gs jpeg jp2 lcms lqr openexr png tiff x11 xml zlib