Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[Split] How to scale an image proportionally
umen242 last edited by
yeah i need to load it , to create/scale the dropped image to Small image icon from each image i drop
by the way this leads me to new question , what is the best way to make image smaller but save its proportion.relative size?
task_struct last edited by
Take a look at "QImage::scaled()":http://doc.trolltech.com/4.7-snapshot/qimage.html#scaled with Qt::KeepAspectRatio mode