(08-13-2020, 06:49 AM)Ofnuts Wrote:(08-13-2020, 04:08 AM)stevem0 Wrote: I am a long ways from getting the script to work, the wide.png is in working directory
When I enter this line:
$ convert wide.png -crop 750x100+$i+0 +repage "%02d"$i.png
it gives me the error:
Invalid Parameter - -crop
What ImageMagick version? IIRC -crop is a recent addition.
Version: ImageMagick 7.0.10-25 Q16 x64 2020-08-01
(08-13-2020, 07:04 AM)rich2005 Wrote: ImageMagick (IM) command line in a terminal still widely used.I am using cygwin, I believe that is a "linux" emulation terminal for windows. I installed the imageMagick version ImageMagick-i686-pc-cygwin.tar.gz for cygwin. I downloaded that file within cygwin (wget) tar and installed in the cygwin environment.
Quote:..I can run "magick wide.png win:
If that works then you are using IM version 7 Is this in linux or Windows ? Obvously bash for linux, you need an equivalent bat file for Win. I am really rusty with Windows batch when it comes to loops. For IM 7 exchange magick for convert (convert is also a Windows command that plagues Windows users)
$ magick -version
Version: ImageMagick 7.0.10-25 Q16 x64 2020-08-01 http://www.imagemagick.org
Copyright: Copyright © 1999-2018 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Visual C++: 192628806
Features: Cipher DPC HDRI Modules OpenCL OpenMP(2.0)
Delegates (built-in): bzlib cairo flif freetype gslib heic jng jp2 jpeg lcms lqr
lzma openexr pangocairo png ps raw rsvg tiff webp xml zlib