Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

expose imagemagick_path and graphicsmagick_path #7

Closed
archiloque opened this Issue · 3 comments

3 participants

@archiloque

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'
/Users/archiloque/.rvm/gems/ruby-1.9.2-p290/gems/phashion-1.0.3/lib/phashion.rb:27:in
f

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

@mperham
Collaborator

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

@archiloque

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 http://www.imagemagick.org

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

@dkam
Collaborator

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.