Topic: Rmagick/ImageMagick on CentOS5 - fail to handle PNG files

We had suffered long until we got Rmagick + Paperclip working on our server (CentOS 5).

Paperclip did the upload job but Rmagick seems to crash when we upload any PNG file (Need to say, jpg/gif files worked fine).

An error was received while processing: #<Paperclip::NotIdentifiedByImageMagickError: /tmp/stream20110223-3585-txxv5t.png is not recognized by the 'identify' command.>

Any suggestion? We are using ImageMagick-6.6.7-9, Rmagick 2.13.1, Rails 3.0.5

Our server admin claimed that they have preset ImageMagick with the following variable and no clue why it doesn't work.
--prefix=/usr/local --with-bzlib=yes --with-fontconfig=yes --with-freetype=yes --with-gslib=yes --with-gvc=yes --with-jpeg=yes --with-jp2=yes --with-png=yes --with-tiff=yes

Last edited by wowmusic (2011-03-30 16:32:09)