use mogrify on folder with multiple image formats?
Posted: 2015-07-14T19:45:36-07:00
Hello!
So I know how to use the following command to batch convert a folder of images:
mogrify -format jpeg *.png
But what if the folder of images I want to convert also has '.tif' or '.dng' included as well? Is there another option for ' *.png " that will include any file type? tried the following but it just throws a couple errors:
' mogrify -format jp2 *.png *.tif *.dng' ??
-error unable to open image '*tif': Invalid argument @ error/blob.c/OpenBlob/2697
-error unable to open image '*dng': Invalid argument @ error/blob.c/OpenBlob/2697
-no decode delegate for this image format '' @ error/constitute.c/ReadImage/501
Thank You!
using ImageMagick-6.9.1-Q16-HDRI
windows 7 64 bit
So I know how to use the following command to batch convert a folder of images:
mogrify -format jpeg *.png
But what if the folder of images I want to convert also has '.tif' or '.dng' included as well? Is there another option for ' *.png " that will include any file type? tried the following but it just throws a couple errors:
' mogrify -format jp2 *.png *.tif *.dng' ??
-error unable to open image '*tif': Invalid argument @ error/blob.c/OpenBlob/2697
-error unable to open image '*dng': Invalid argument @ error/blob.c/OpenBlob/2697
-no decode delegate for this image format '' @ error/constitute.c/ReadImage/501
Thank You!
using ImageMagick-6.9.1-Q16-HDRI
windows 7 64 bit