QImage size after save
Unsolved
General and Desktop
-
Hello,
I am using
QImage
save methods to write aPNG
file.
I am running onOS_X
.After that i tried to get the image size, with the
.size()
method but it only return (0,0).Indeed when i look into finder, there are no dimensions set ! How to make sur that
size
is properly written.Thanks in advance,
-
@sabativi
unless it's not a bug in the image writer plugin on OS X i would suspect that your QImage/QPixmap is already invalid.Please show the code where you create and paint into the image.