Page 1 of 1

image quality command not working

Posted: 2017-12-23T06:11:10-07:00
by philysgdy
Here is where Im at and confused at why ImageMagick cant find my file, I have installed and tested I have green lights there, but my first image is not being found can you help me?

Ys-2-work:~ admin$ which convert
/usr/local/bin/convert
Ys-2-work:~ admin$ which magick
/usr/local/bin/magick
Ys-2-work:~ admin$ identify -version
Version: ImageMagick 7.0.7-15 Q16 x86_64 2017-12-23 http://www.imagemagick.org
Copyright: © 1999-2018 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules
Delegates (built-in): bzlib fontconfig freetype jng jpeg ltdl lzma png tiff x xml zlib
Ys-2-work:~ admin$ xclock &
[1] 44771
Ys-2-work:~ admin$ display wizard:

Ys-2-work:~ admin$ magick Blog-cD-cloud.jpg -quality 50% Blog-cD-cloud-50.jpg
magick: unable to open image 'Blog-cD-cloud.jpg': No such file or directory @ error/blob.c/OpenBlob/3323.
Ys-2-work:~ admin$ magick About-us-header.jpg -quality 50% About-us-header-50.jpg
magick: unable to open image 'About-us-header.jpg': No such file or directory @ error/blob.c/OpenBlob/3323.
Ys-2-work:~ admin$ magick documents/Blog-cD-cloud.jpg -quality 50% Blog-cD-cloud-50.jpg
magick: unable to open image 'documents/Blog-cD-cloud.jpg': No such file or directory @ error/blob.c/OpenBlob/3323.
Ys-2-work:~ admin$ magick users/admin/documents/Blog-cD-cloud.jpg -quality 50% Blog-cD-cloud-50.jpg
magick: unable to open image 'users/admin/documents/Blog-cD-cloud.jpg': No such file or directory @ error/blob.c/OpenBlob/3323.
Ys-2-work:~ admin$ magick /Users/admin/Documents/Blog-cD-cloud.jpg -quality 50% Blog-cD-cloud-50.jpg
magick: unable to open image '/Users/admin/Documents/Blog-cD-cloud.jpg': No such file or directory @ error/blob.c/OpenBlob/3323.
Ys-2-work:~ admin$ convert /Users/admin/Documents/Blog-cD-cloud.jpg -quality 50% Blog-cD-cloud-50.jpg
convert: unable to open image '/Users/admin/Documents/Blog-cD-cloud.jpg': No such file or directory @ error/blob.c/OpenBlob/3323.
convert: no images defined `Blog-cD-cloud-50.jpg' @ error/convert.c/ConvertImageCommand/3275.
Ys-2-work:~ admin$ convert "Blog-cD-cloud.jpg" -quality 50% Blog-cD-cloud-50.jpg
convert: unable to open image 'Blog-cD-cloud.jpg': No such file or directory @ error/blob.c/OpenBlob/3323.
convert: no images defined `Blog-cD-cloud-50.jpg' @ error/convert.c/ConvertImageCommand/3275.


Apologies I had the xclock still open as son as I closed that and reran teh command I got the result :D

Re: image quality command not working

Posted: 2017-12-23T06:22:18-07:00
by snibgo
The first error is:

Code: Select all

magick: unable to open image 'Blog-cD-cloud.jpg': No such file or directory
Is that file there? How do you know? If it isn't there, that's the problem.