Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
I want to display a horizontal image as vertical image using painter. I have tried painter.rotate(value); but i am getting the distorted image.
hope "this":http://www.qtforum.org/article/20902/rotating-a-qpixmap.html?s=be35ec3384822e07e6fc23b84e67b22e502091bb#post92612 helps..
have you tried to use QPixmap::transform method ?
From the Qt docs, we can invoke QTransform::rotate (90), and QTrasformationMode with Qt::SmoothTransformation using bilinear filtering.