PasteImageFromClipboard()

Blitz3D Forums/Blitz3D Programming/PasteImageFromClipboard()

ok, please try the code above again.

The problem was that in 16bit the rgb bit order is 565 not 555.

Also, for 16/32bit images they use the BI_BITFIELDS in the biCompression field. Which stands for 3 rgb color masks in the palette, 12 bytes. So it should now work fine.