Nominate our 2022 Qt Champions!

QPainter for paint an image at the double resolution

  • Hi all,

    I have to paint and Imege doubling the resolution of image, I have ever Use the standard method to paint :

    @ QImage *rQP = new QImage(QSize(35,29),QImage::Format_ARGB32_Premultiplied);
    QString fileNameRQP;
    p.drawImage(QPoint(240,y+76) ,*rQP);@

    is possible paint this image with double resolution?

  • You mean you want to scale the image? Why not use QImage::scaled then?

  • Tanks just try it!!

Log in to reply