image quality command not working

IMagick is a native PHP extension to create and modify images using the ImageMagick API. ImageMagick Studio LLC did not write nor does it maintain the IMagick extension, however, IMagick users are welcome to discuss the extension here.
Post Reply
philysgdy
Posts: 11
Joined: 2017-12-19T05:44:31-07:00
Authentication code: 1152

image quality command not working

Post by philysgdy » 2017-12-23T06:11:10-07:00

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

snibgo
Posts: 9580
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: image quality command not working

Post by snibgo » 2017-12-23T06:22:18-07:00

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.
snibgo's IM pages: im.snibgo.com

Post Reply