LoginSignup
0
0

More than 5 years have passed since last update.

Paperclipにおけるpng is not recognized by the 'identify' commandというエラーに関して

Last updated at Posted at 2012-12-05

大分ハマったのでメモ

結論から言うと、僕のケースではImagemagickの対応形式にpngが含まれなかったために起きていた。

環境は

CPU: 8-core 64-bit ivybridge
OS X: 10.8.2-x86_64
Xcode: 4.5.2
HOMEBREW_VERSION: 0.9.3

です。

まず

brew doctor

を実行して、libpngがunlinkを示すようなことが書かれていた。
うん、まずい。いかにもまずそうだ。

とうことで

brew link libpng

をして、symlinkを作成。んで

brew install imagemagick --build-from-source

を実行すればokay。

convert -list format | grep PNG 

の結果からPNGが含まれていることが確認できる。

その後タイトルのようなエラーは出なくなった。

Reference

http://rick-brain.sblo.jp/article/54579735.html
https://github.com/mxcl/homebrew/issues/14325

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0