Search for TIF grayscale images

General discussion related to "Everything".
Post Reply
w64bit
Posts: 253
Joined: Wed Jan 09, 2013 9:06 am

Search for TIF grayscale images

Post by w64bit »

Is there any workaround to search for TIF grayscale images?
Thank you
RegexNinja
Posts: 18
Joined: Sat Apr 11, 2020 2:45 pm

Re: Search for TIF grayscale images

Post by RegexNinja »

Sorry, but I dont know the app well enough for any workarounds, but I'm pretty sure it doesnt index GrayScale metadata??
You could create a list of your GrayScale .tiff's for everything to read.. That'd give you something to filter them by.

If you have exiftool, the command would be like:
exiftool -r -q -ext tiff -ext tif -if "$FileType eq 'TIFF' and $PhotometricInterpretation#<2" -p \"$FilePath\" C:/DirPath >MyGrayScales.txt

Just edit C:\DirPath to your main directory, and exiftool would recursively create the file-list (as MyGrayScales.txt).
You would then need to edit MyGrayScales.txt by simply putting filename on Line1 all by itself.
Then everything could use it as one of its file-lists (Tools/Options/FileLists/Add, & then later File/OpenFileList).

Cheers.
Post Reply