Search for TIF grayscale images

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

Search for TIF grayscale images

Post by w64bit » Sat Oct 03, 2020 12:15 pm

Is there any workaround to search for TIF grayscale images?
Thank you

Posts: 18
Joined: Sat Apr 11, 2020 2:45 pm
Location: OrionCygnusArm, MilkyWay

Re: Search for TIF grayscale images

Post by RegexNinja » Sat Oct 03, 2020 6:21 pm

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).


Post Reply