Created attachment 186008 [details] Sad state of exif-less tooltip I noticed the tooltip for screenshot does not show their dimensions. Dimensions are shown for peg files from a camera, presumably they are takeng from exif. However, dimensions are known even when there is no exif data and are quite useful information. It would be great if they were displayed no matter if there is exif data.
Created attachment 186009 [details] A lot of informatino from exif, including dimensions
PNG can have exif data. Extracting data without metadata from png, would be very costly IO/wise. And exif data in png is very uncommon. Spectacle for instance adds them. You can use the command `exiftool my-file.png` to check its metadata. On a local png I get: ``` iftool alina.png ExifTool Version Number : 13.36 File Name : alina.png Directory : . File Size : 110 kB File Modification Date/Time : 2025:08:27 11:30:35+02:00 File Access Date/Time : 2025:10:23 12:28:36+02:00 File Inode Change Date/Time : 2025:08:27 11:30:39+02:00 File Permissions : -rw-r--r-- File Type : PNG File Type Extension : png MIME Type : image/png Image Width : 250 Image Height : 250 Bit Depth : 8 Color Type : RGB Compression : Deflate/Inflate Filter : Adaptive Interlace : Noninterlaced Image Size : 250x250 Megapixels : 0.062 ``` This is more of a potential kfilemetadata feature request.
But I get: ======== ./Screenshot_20251022_161439.png ExifTool Version Number : 13.10 File Name : Screenshot_20251022_161439.png Directory : . File Size : 474 kB File Modification Date/Time : 2025:10:22 16:14:40+02:00 File Access Date/Time : 2025:10:23 16:27:22+02:00 File Inode Change Date/Time : 2025:10:23 16:27:22+02:00 File Permissions : -rw-r--r-- File Type : PNG File Type Extension : png MIME Type : image/png Image Width : 1846 Image Height : 1011 Bit Depth : 8 Color Type : RGB with Alpha Compression : Deflate/Inflate Filter : Adaptive Interlace : Noninterlaced Pixels Per Unit X : 3780 Pixels Per Unit Y : 3780 Pixel Units : meters Logical X : 4895.6 Logical Y : 448.4 Sub Geometry List : Image Size : 1846x1011 Megapixels : 1.9 Does exiftool extract the dimensions from the file itself?