Match "PNG" to QImage::Format formats
Unsolved
General and Desktop
-
I will be storing images (some PNG, some JPG) in a MySQL database, and creating the image from this data using the QImage constructor.
The height/width/data parameters are simple enough, but the format parameter is unclear. For example, if I loaded a PNG file into my database, which QImage::Format does this match to? How about JPG?
-