We need to create code for searching specific image metadata properties, e.g. filesize:<200kb or filemime:image/png.
Proposed predicates:
Mask | Example | Description |
infile:{text} | infile:"hyperbolical paraboloid" | search only inside file text |
filesize:[<>]{size} | filesize:<200 | checks if file size is more/less than specified. Omitting size is the same as >. Size is in kilobytes. |
filetype:{TYPE} | filetype:image | file media type |
filemime:{MIME} | filemime:application/pdf | file MIME type |
filebits:[<>]{bits} | filebits:16 | bit depth of the data. Omitting <> is exact match. |
fileres:[<>]{size}w,{size}h,{size}r | fileres:>600w,800h,500r | file measurements. 'w' is width, 'h' is height, 'r' is resolution which is sqrt(w*h). Omitting <> is exact match. |