S
S
Super Shrek2016-12-14 17:53:32
Programming
Super Shrek, 2016-12-14 17:53:32

How to test ImageMagick on macOS?

It seems that I installed ImageMagick (MacPorts also preliminarily)
with the help sudo port install ImageMagick
. I put the png image on the system disk and tried to convert using
convert rose.png rose.jpg(from the official help)
as a result it gives me such that there is no such path. And he seems to be.

iMac-username:~ username$ convert rose.png rose.jpg
convert: unable to open image `rose.png': No such file or directory @ error/blob.c/OpenBlob/2705.
convert: unable to open file `rose.png' @ error/png.c/ReadPNGImage/3925.
convert: no images defined `rose.jpg' @ error/convert.c/ConvertImageCommand/3258.

Launched again
sudo port install ImageMagick
As a result, he says that everything is fine.
--->  Computing dependencies for ImageMagick
--->  Cleaning ImageMagick
--->  Scanning binaries for linking errors
--->  No broken files found.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
d-stream, 2016-12-16
@d-stream

The envelope itself cannot find the file rose.png
At least you should explicitly specify the path to the file ... well, make sure that it is rose.png and not Rose.PNG for example

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question