On Sat, 2 Jun 2001, Brian S. Julin wrote:

> 
> Here's a proposed patch.
> 
> Christoph -- this was your bug report, could you test this?

Yep. I just tested in on 32bpp (X-target) and 8bpp
(palemu-target) using the gcpconv -demo from libgcp.

This demo converts the white color into different color-spaces and
back by mapping and unmapping it.


Result 32bpp:

Mapped: 0xFFFF,0xFFFF,0xFFFF,0xFFFF
Unmapped: 0xFF00, 0xFF00, 0xFFFF, 0xFFFF

The "r" and "g" part is still buggy, but "b" and "a" work correctly.


Result 8bpp:

Mapped: 0xFFFF,0xFFFF,0xFFFF,0xFFFF
Unmapped: 0xFFFF, 0xFFFF, 0xFFFF, 0

"r","g" and "b" are correctly, but the "a" part seems to be lost
completely.



CU,

Christoph Egger
E-Mail: [EMAIL PROTECTED]

Reply via email to