Skip to content

Error uploading image with .png extension ( Paperclip::Errors::NotIdentifiedByImageMagickError ) #1173

alvesbraga opened this Issue Feb 26, 2013 · 7 comments

6 participants


I'm getting the following error when uploading an image file with .png extension.

PaperClip - 3.4.1
Cocaine - 0.5.1
file name = fototeste.png

Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/1r/48l5r6dj5bxdj0dswdp98cjc0000gn/T/fototeste20130226-46185-vzvgpd.png[0]'
[paperclip] An error was received while processing: #

It's working properly when using .jpg files.

djcp commented Feb 28, 2013

What operating system? Can you run "identify -format '%wx%h,%[exif:orientation]' " (or some other combination of identify options) manually against the file that's failing? This may not be a paperclip issue.


same issue. Mine is Mac OS X Mountain Lion.

thoughtbot, inc. member
jyurek commented Mar 11, 2013

@lutfidemirci Does running the same command in the terminal manually give the same error? It if does give the same error, then it could be a problem with ImageMagick.


Yes, It is an issue about system. I run this commands and worked for me.

brew install libtool --universal
brew link libtool  

Thank you lutfidemirci, I had the same issue and your command worked for me!

djcp commented Mar 15, 2013

Is there some way we can document this so as to save everyone time? Did this error creep up after an OS update? Is there some common context that caused this error that we can find?

@djcp djcp closed this Apr 5, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.