Page 1 of 1

How to find tiff files which have transparency???

Posted: 2015-05-19T03:40:35-07:00
by foler
I need to find and move all tiff files in folder which have any kind of transparency. Do I can do this with IM?

Re: How to find tiff files which have transparency???

Posted: 2015-05-19T12:16:28-07:00
by snibgo

Code: Select all

convert in.tif -format %[opaque] info:
This returns "true" if the image is fully opaque, or "false" if there is any transparency.

A script can loop through files, and do whatever you want with images that have transparency.

Re: How to find tiff files which have transparency???

Posted: 2015-05-19T12:53:41-07:00
by foler
do you want to help me further? how to move all tifs with transparency or layers into some subfolder?