ecir.hana
27th March 2013, 09:19
Hello,
I would like to display an image and have the possibility to zoom in/out the image. I tried http://qt-project.org/doc/qt-5.0/qtwidgets/widgets-imageviewer.html but it consumes huge amounts of memory - it is practically impossible to zoom in more than 8x or so. Also, the zooming becomes somewhat slow at larger ratios.
Please, is there a less memory-intensive (and faster) way to show and zoom images? Also, I think the above example uses bicubic interpolation - is it possible to use different method, for example nearest neighbor?
I would like to display an image and have the possibility to zoom in/out the image. I tried http://qt-project.org/doc/qt-5.0/qtwidgets/widgets-imageviewer.html but it consumes huge amounts of memory - it is practically impossible to zoom in more than 8x or so. Also, the zooming becomes somewhat slow at larger ratios.
Please, is there a less memory-intensive (and faster) way to show and zoom images? Also, I think the above example uses bicubic interpolation - is it possible to use different method, for example nearest neighbor?