is there any way to use Qt to downscale various kind formats of pictures?
General and Desktop
7
Posts
3
Posters
1.7k
Views
3
Watching
-
You can use QPixmap::scaled() for that.
-
You can use QPixmap::scaled() for that.
@Chris-Kawa and i want to save the new downscaled picture to a new file...
-
@Chris-Kawa and i want to save the new downscaled picture to a new file...
-
Better for what? They do different things.
scaledTo*preserves aspect ratio whilescaledlets you specify arbitrary size.