Convert images to different format only if size is greater..
Posted: 2012-01-05T14:42:26-07:00
Hey everyone - I've seen ImageMagick before, but have a specific project I'm struggling to find a solution for and this seems as close as I have gotten.
I have 10,000 files in a folder, for example - CMYK TIFF that I want to convert to PNG. However, I don't want to convert all of them, only ones that are larger than 1000pixel on either height or width.
My first thought was that I could do this with the -resize 1000^< (windows user). However, even if that kinda works, it ends up resizing the image and I don't really want to resize the image, I just want to convert it.
I have searched through the forums for skipping, ignoring, and such but I can only find the ability to resize to a specific size, not just ignoring files of a smaller size. Any help would be greatly appreciated!
TW
I have 10,000 files in a folder, for example - CMYK TIFF that I want to convert to PNG. However, I don't want to convert all of them, only ones that are larger than 1000pixel on either height or width.
My first thought was that I could do this with the -resize 1000^< (windows user). However, even if that kinda works, it ends up resizing the image and I don't really want to resize the image, I just want to convert it.
I have searched through the forums for skipping, ignoring, and such but I can only find the ability to resize to a specific size, not just ignoring files of a smaller size. Any help would be greatly appreciated!
TW