Need some help with bitmap manipulating

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Sat Nov 27 20:35:59 CET 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chris January schrieb:
|>~    bmpInfo->bmiHeader.biSizeImage = 0;
|
|
| Have you tried setting biSizeImage?
No, but there is no need to set this when BI_RGB is used.
|
| Also you could try calling QPixmap::convertFromImage and then using the
| resulting Qpixmap handle with CF_BITMAP? I believe Windows will then
convert
| it to the CF_DIB format for you.
That's an idea, but then we wouldn't support CF_DIB but CF_BITMAP. Since
Windows is doing automatic internal conversions, there should be no
difference.
What do you think?
This would be a difference to the original Qt (see
http://doc.trolltech.com/3.3/qwindowsmime.html)
|
| Chris
|
Christian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFBqNcfnNKwkgf+zVMRAul+AJwMYv7aYSBYajcnV9W4WRln8X+e/QCfSnDN
xZe1OCkAJTGfXfPsb7fBWAs=
=ZgQJ
-----END PGP SIGNATURE-----


More information about the kde-cygwin mailing list