Quote:
Originally Posted by gguruusa
Ok, turns out it was broken for both converters, and I had only fixed one before. New build has been posted.
For the curious, it's actually a bug based on the low order Red color bits. Windows manipulated the pixel value on my behalf in order to distribute accumulated error when moving from a low color depth to a higher color depth. My logic assumed the pixel value I put in would be the pixel value I got out (sounds reasonable, doesn't it?), so when it wasn't things went awry. You see the artifact as green because the low order red bits were writing on top of the high order green bits. By pure chance, green does not write on blue because of an election I took in the code. Blue doesn't have a color after it to overwrite. So, the only color getting messed up is green, which explains why all the artifacts were green.
|
Fixed!
Thanks gguru.
For the record, I AM "the curious"...
Excellent work on this program by the way. =D>