Specific TIF file is not displaying at full resolution, unsure of the cause.
Environment:
- OS: Windows 10 Pro x64 22H2 (OS Build 19045.6159)
- qView version: 7.1
Information:
Open this tif in qView (It's hosted on Drive because it's about 400MiB): https://drive.google.com/file/d/1GaD8910Yegm8pUO355Mc33jyylctw_8H/view?usp=sharing
You'll see that initially it loads at full resolution, but then after about ~1-2seconds the image blurs out. When selecting "Original Size", the preview shrinks down to what appears to be thumbnail size.
If you open the image in Photoshop and simply re-save it, the issue doesn't happen. I think the RAW metadata might have something to do with the behavior.
Let me know if you need any additional information to reproduce the issue.
I don't have access to the Google Drive link. Can you make it open to anyone?
I don't have access to the Google Drive link. Can you make it open to anyone?
Apologies, just updated the link in the original post.
Any status on this? Is this an actual bug or a problem with the file?
@jurplel I would propose something like this. That commit was intended for a PR but the build failed because QImage::sizeInBytes was introduced in Qt 5.10 and you still have a build using 5.9. I thought you were going to drop 5.9 support one of these days 😀. If not maybe you can use a similar idea and adapt it to work. It would fix this TIF issue, part of #767 (how it switches to lower res versions), and a similar problem with icon files containing multiple resolutions.
sizeInBytes should be the uncompressed size, basically width * height * depth - I thought it was nice to include depth in case there are multiple of the same resolution with different bit depths.
Some icons you can use for testing: https://github.com/jdpurcell/AudioSFV/blob/main/assets/App.ico https://github.com/jdpurcell/AudioSFV/blob/main/assets/macos/AppIcon.icns One of them (can't remember which now) has the highest resolution version at the end.