large images cannot be scaled in Image Viewer
Issue #29
resolved
Some large images (e.g. bigger than 8000x4000 pixels) cannot be zoomed in or out in Image Viewer. When trying to zoom, the window remains black.
Comments (2)
-
repo owner -
repo owner - changed status to resolved
Fix will be released in version 0.9.8.33.
- Log in to comment
Developer comment: This seems to be a limitation of Qt framework, which cannot load images whose pixel representation occupies more than 128 MB in memory. For example 8000x4000x4 = 128000000, which is exactly the limit. In order to be zoomed, the image needs to be loaded to memory completely. Bigger images cannot therefore be zoomed.
Some workaround will be implemented, though this might be a bit complicated.