Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QImage in QGraphicsScene is pixelated when zooming in
alogim last edited by
I created a simple custom
QGraphicsScenein which user can zoom in and out by keeping pressed
Ctrlkey and moving the mouse wheel up and down.
I have to add
QImages to my
QGraphicsScene. To achieve that, I first convert them to
QPixmapwith the function
However those pixmaps are really pixelated if I zoom in. Is there a way to create vectorial images from
QImageand render them to the scene?
As far as I know there is no build in raster to vector conversion.
Also many images are not really good for it.
Im wonder if QGraphicsScene is scaling images with best quality.