"Michael Kaufmann" <[EMAIL PROTECTED]> wrote:
Do you have any information about the 15 bpp case? Are some
applications using this value? According to MSDN, it is not allowed.
15 bpp case should be similar to a 16-bit one but with different masks.
--
Dmitry.
+if (bpp > 0 && compr == BI_BITFIELDS)
+{
+/* Windows ignores the input bitfields and overwrites them */
+
+if (bpp == 16)
+{
+/* With these bitfields, the color data is the same as
for BI_RGB */
+((PDWORD)info->bmiColors)[0] = 0x7c00;
+
"Michael Kaufmann" <[EMAIL PROTECTED]> wrote:
+if (bpp > 0 && compr == BI_BITFIELDS)
+{
+/* Windows ignores the input bitfields and overwrites them */
+
+if (bpp == 16)
+{
+/* With these bitfields, the color data is the same as for BI_RGB
*/
+