Skip to content


Subversion checkout URL

You can clone with
Download ZIP


expose imagemagick_path and graphicsmagick_path #7

archiloque opened this Issue · 3 comments

3 participants


I'm trying to use phashion but I have a problem: when ask to hash gif files phasion try to convert them first and fail with

sh: convert: command not found
I, [2011-08-11T12:48:12.941405 #12459] INFO -- : (0.000284s) ROLLBACK
sh: gm: command not found
/Users/archiloque/.rvm/gems/ruby-1.9.2-p290/gems/phashion-1.0.3/lib/phashion.rb:27:in image_hash_for'

digging into the code it seems CImg.h want to use image magick or gm and has 2 handy imagemagick_path and graphicsmagick_path functions to tell him where to find them, please expose them


Is there some reason you can't just put gm in your PATH?


convert is in my path but or a reason it can't find it

Malaclypse$ convert
Version: ImageMagick 6.6.9-4 2011-08-06 Q16

when I'm putting a link to it on the project's root it works


Closing this issue. Please reopen if it's still an issue.

@dkam dkam closed this
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.