large images cannot be scaled in Image Viewer

Issue #29 resolved
Former user created an issue

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)

  1. Vladimir Kraus repo owner

    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.

  2. Log in to comment