Answer the question
In order to leave comments, you need to log in
How to save a QPixmap image that has been scaled down using the scaled() function?
I set a limit on the image size of 100x100 in the program, how to save the image in the same size?
Answer the question
In order to leave comments, you need to log in
QPixmap pix;
...
pix.scaled(100,100,..).save("./asdfasdf.png", "png");
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question