[Fixed] Resolution written with exiftool to WEBP shows wrong in "Image" Tab of Info window

Having tech problems? Post them here and do not worry, there is always a solution for you.
Post Reply
porg
Posts: 554
Joined: Tue Apr 05, 2022 1:04 pm
Country: Austria

[Fixed] Resolution written with exiftool to WEBP shows wrong in "Image" Tab of Info window

Post by porg »

The files:
After various processing, I stripped a set of images of all metadata like this:

Code: Select all

exiftool -overwrite_original_in_place -all= *
Then to some select files I wrote a specific resolution info like this:

Code: Select all

exiftool -overwrite_original_in_place -EXIF:XResolution=78 -EXIF:YResolution=78 pic1.jpg pic2.webp
The bug:

✅ JPEG files show the same resolution in the "Image" tab and the "ExifTool" tab of the Information window.
❌ Whereas for WEBs the resolution is correctly shown in the "ExifTool" tab but in the "Image" it is always 72 DPI regardsless what it really is:

WEBP resolution in Information window in tab Image wrong in tab ExifTool correct.webp
WEBP resolution in Information window in tab Image wrong in tab ExifTool correct.webp (102.84 KiB) Viewed 1382 times
Last edited by porg on Fri Jan 13, 2023 2:21 pm, edited 1 time in total.
User avatar
forum_adm
Site Admin
Posts: 1814
Joined: Fri Dec 23, 2016 9:41 am
Location: Germany
Country: Germany
Contact:

Re: Resolution written with exiftool to WEBP shows wrong in "Image" Tab of Info window

Post by forum_adm »

Please forward the webP file.
porg
Posts: 554
Joined: Tue Apr 05, 2022 1:04 pm
Country: Austria

Re: Resolution written with exiftool to WEBP shows wrong in "Image" Tab of Info window

Post by porg »

You can take any WEBP file, and with exiftool first strip all metadata, then set the X/Y resolution (PPI) as you want. As shown above.

Additionally I sent you some concrete sample files which were already processed that way via email.
User avatar
forum_adm
Site Admin
Posts: 1814
Joined: Fri Dec 23, 2016 9:41 am
Location: Germany
Country: Germany
Contact:

Re: Resolution written with exiftool to WEBP shows wrong in "Image" Tab of Info window

Post by forum_adm »

Thanks for the files.

The issue is fixed with build 5726. You will have to use the context menu command Refresh to force a reread of the files.
porg
Posts: 554
Joined: Tue Apr 05, 2022 1:04 pm
Country: Austria

Re: Resolution written with exiftool to WEBP shows wrong in "Image" Tab of Info window

Post by porg »

✅ Worked perfectly in GraphicConnverter 11.7.1 (5726)

1. GraphicConverter: file.webp is open.

2. Terminal: exiftool -overwrite_original_in_place -EXIF:XResolution=NewNumber -EXIF:YResolution=NewNumber file.webp

3. GraphicConverter: file.webp in Editor window. Commands: Next image, prev image. file.webp again shown, but freshly loaded.

The "Information" window now shows the NewNumber for the resolution in both the tabs "Image" and "ExifTool".
Post Reply