QFileInfo::size()
No. You can only prepare the image in the size you need in advance but you will still be calling scaled().Also is there a faster way of scaling image then qpixmap.scaled?
That's quite an optimal combination. Provided the first transformation reduces the size by integer number of times compared to the original image.Right now I use combination of i.e. scaled( 640, 480, FastTransformation).scale(200, 100, SmoothTransformation). I know that I'm doing 2 sale but that's only for quality purpouse.






Reply With Quote
Bookmarks