However, after typing the following command:
Code: Select all
magick mogrify -crop 1528x2152+320+216 *.JPG $file ${file%.JPG}_cropped.jpg; done
Code: Select all
mogrify: unable to open image '$file': No such file or directory @ error/blob.c/OpenBlob/2695.
mogrify: no decode delegate for this image format `' @ error/constitute.c/ReadImage/508.
mogrify: unable to open image '${file%.JPG}_cropped.jpg;': No such file or directory @ error/blob.c/OpenBlob/2695.
mogrify: unable to open module file 'D:\Multimedia\ImageMagick-7.0.3-Q16\modules\coders\IM_MOD_RL_JPG;_.dll': No such file or directory @ warning/module.c/GetMagickModulePath/680.
mogrify: no decode delegate for this image format `JPG;' @ error/constitute.c/ReadImage/508.
mogrify: unable to open image 'done': No such file or directory @ error/blob.c/OpenBlob/2695.
mogrify: no decode delegate for this image format `' @ error/constitute.c/ReadImage/508.