Missing JPG, PNG, TIF in ImageMagick Supported formats

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
danielmauch

Missing JPG, PNG, TIF in ImageMagick Supported formats

Post 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
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

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

Post 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>";
}
?>
danielmauch

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

Post by danielmauch »

the result is empty ?!
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

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

Post 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
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

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

Post 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
Post Reply