QImage in QGraphicsScene is pixelated when zooming in

  • I created a simple custom QGraphicsScene in which user can zoom in and out by keeping pressed Ctrl key and moving the mouse wheel up and down.
    I have to add QImages to my QGraphicsScene. To achieve that, I first convert them to QPixmap with the function QPixmap::fromImage().
    However those pixmaps are really pixelated if I zoom in. Is there a way to create vectorial images from QImage and render them to the scene?

  • Qt Champions 2016

    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.

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.