Am 29.08.2012 um 12:05 schrieb <[email protected]>:
> QImage(const QString &fileName, const char *format = 0);
>
> If I want to use Format_ARGB8565_Premultiplied, so what’s the format string
> in above constructor ?
Pay attention! Carefully read the documentation ;)
It will be immediatelly clear that you are confusing the "file format" ("JPG",
"PNG", ...) with the "pixel format" (RGBA32, ...)!
(Just like I did for a second as well).
You need to use the pixel format conversion/query methods.
Again, refer to the Qt docs.
Cheers,
Oliver_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest