Page 1 of 1

"CLI arg 1 @ error"can somebody help me?

Posted: 2017-10-25T09:12:17-07:00
by sfon
magick -size 640x480 logo.gif
magick: no images for write '-write' 'logo.gif' at CLI arg 3 @ error/operation.c/CLINoImageOperator/4789.
magick -transpose logo.gif
magick: no images found for operation `-transpose' at CLI arg 1 @ error/operation.c/CLIOption/5266

Re: "CLI arg 1 @ error"can somebody help me?

Posted: 2017-10-25T09:23:08-07:00
by sfon
magick -rotate 90 logo.gif
magick: no images found for operation `-rotate' at CLI arg 1 @ error/operation.c/CLIOption/5266

uname -a
Linux Centos 3.10.0-693.2.2.el7.x86_64 #1 SMP Tue Sep 12 22:26:13 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Re: "CLI arg 1 @ error"can somebody help me?

Posted: 2017-10-25T09:24:06-07:00
by sfon
magick --version
Version: ImageMagick 7.0.7-8 Q16 x86_64 2017-10-15 http://www.imagemagick.org
Copyright: © 1999-2017 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules OpenMP
Delegates (built-in): bzlib cairo djvu fftw fontconfig fpx freetype gslib jng jpeg lcms ltdl lzma pangocairo png ps tiff webp wmf x xml zlib

Re: "CLI arg 1 @ error"can somebody help me?

Posted: 2017-10-25T09:24:12-07:00
by fmw42
magick -size 640x480 logo.gif
There is no output image and -size 640x480 does nothing without a command such as xc:red. Try creating your logo.gif from the IM internal logo: image. See http://www.imagemagick.org/script/forma ... tin-images

Code: Select all

magick logo: logo.gif
Then

Code: Select all

magick logo.gif -rotate 90 logo_rot90.gif
Each command needs an input and output image, though the output name can be the same as the input name.

If you want to resize the image, then

Code: Select all

magick logo.gif -resize 50% logo_resized.gif

Re: "CLI arg 1 @ error"can somebody help me?

Posted: 2017-10-27T20:03:14-07:00
by sfon
Thank you very much for your explain