QImage size after save

  • Hello,

    I am using QImage save methods to write a PNG file.
    I am running on OS_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,

  • Moderators

    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.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.