ImageMagick does not convert
I just installed a fresh copy of ImageMagick from source on Snow Leopard 1.6.8 following these instructions minus command sudo ldconfig /usr/local/lib
, because that doesn't seem to exist on Mac.
Then I added this to my global bash file:
export LD_LIBRARY_PATH=$HOME/local/imagemagick/lib:$LD_LIBRARY_PATH
Now when I run which identify
I get:
/usr/local/bin/identify
And when I run the tests, the GIFs remain GIFs:
Simpleton:Desktop pawel$ convert logo.gif logo.png
Simpleton:Desktop pawel$ file logo.png
logo.png: GIF image data, version 89a, 640 x 480
And when I want to convert JPG file, I get:
Simpleton:Desktop pawel$ convert clouds.jpg clouds.png
convert: no decode delegate for this image format `clouds.jpg' @ error/constitute.c/ReadImage/532.
convert: missing an image filename `clouds.png' @ error/convert.c/ConvertImageCommand/3016.
When I run identify -list format
I don't see the PNG or JPEG libraries. How can I add them without reinstalling ImageMagick?
source to share
When I run identify -list format
I see the PNG and JPG delegate libraries are missing. I installed jpegsrc.v8c.tar.gz
from http://www.imagemagick.org/download/delegates/ and installed it using these instructions and reinstalled ImageMagick. Now I can convert to JPG and still not PNG, so I will obviously have to add this library.
source to share