Reputation: 594
On Windows 10, I need to crop and resize whole folders of images. Following the documentation and some answers here i've built this batch:
magick mogrify -path ./cropped -crop 1300x1940+85+130 +repage -resize "800x800^" *.jpg
It mostly works, but when a folder has mixed image formats (some are 24bpp, some are 8bpp, grayscale) this batch skips all the 8bpp ones.
How can i change my command so it accepts and modify every image, no matter what?
Note: i used mogrify
as i understand it is needed to process a whole folder and save the result in another one, but i'm unsure it is necessary.
Upvotes: 0
Views: 169