Skip to content

RuntimeError: Unknown pHash error on MAC OS X  #69

@aonu

Description

@aonu

I am having the following error when I tried to use the library:

2.3.3 :004 > img1 = Phashion::Image.new('/Users/adrianonu/Docker/a1.jpg')
 => #<Phashion::Image:0x007f84ce8ba510 @filename="/Users/aa/Docker/dormitor1.jpg"> 
2.3.3 :005 > img2 = Phashion::Image.new('/Users/adrianonu/Docker/dormitor2.jpg')
 => #<Phashion::Image:0x007f84ce870c80 @filename="/Users/aa/Docker/a2.jpg"> 
2.3.3 :006 > img1.duplicate?(img2)
convert: delegate failed `'dwebp' -pam '%i' -o '%o'' @ error/delegate.c/InvokeDelegate/1845.
convert: unable to open file '/var/folders/r6/vjwjz3xd3r928qnctprt32ch0000gn/T/magick-40735nzCZw9BST4fv': No such file or directory @ error/constitute.c/ReadImage/549.
convert: no images defined `pnm:-' @ error/convert.c/ConvertImageCommand/3254.
sh: gm: command not found
RuntimeError: Unknown pHash error

Anyone had a similar issue?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions