-
-
Notifications
You must be signed in to change notification settings - Fork 310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Black bars on Sony HIF thumbnails #1406
Comments
Note for further investigation: maybe we need clap for the thumbnail. |
I analyzed the file. It contains three thumbnails:
None of the images has a Thus, the HEIF file is wrong. The |
I have a bad news for you, HEVC Extension is free (preinstalled) in Windows 11... |
If it is an error that affects many images, and I guess that the camera firmware is not easy to upgrade, we might consider to add an option to the thumbnailer to crop the images to the |
Here's a HIF-image of a Sony ILX-LR1: 20241120-214155-cam0-000-000004-0.zip. It's captured at full 61MP with a 3:2 aspect ratio (the only way to get the full 61MP). The HIF pixel size is 9504x6336.
heif_info
shows that there's 3 thumbnails embedded:Now I don't know why Sony decided to create thumbnails in different aspect ratios, but it seems they also decided to just add black bar(s!), probably to make up for the mismatch:
heif-thumbnailer 20241120-214155-cam0-000-000004-0.HIF 20241120-214155-cam0-000-000004-0-heif-thumbnailer.jpg
I see the same in dolphin, KDE's file manager:
But when I invest 99 cents to install the HEVC Video Extensions in the windows app store on a windows 10 machine, I get proper thumbnails in windows:
Now, it could be that windows is bypassing the problem by just using thumbnail 1 instead. But the thumbnail shown above in windows explorer are about 245x162 pixels, so windows might have gotten those from thumbnail 2.
So...
Thanks!
The text was updated successfully, but these errors were encountered: