View Single Post
  #167 (permalink)  
Old 11-20-2007, 02:36 PM
gguruusa's Avatar
gguruusa
Deep Thinker
Offline
Threadstarter
Location: Mountain top
 
Join Date: Jan 2007
Posts: 3,252
Reputation: 4726
gguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributions
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quote:
Originally Posted by hefman View Post
I tried this with the new version (just downloaded) and got the same result. See attached images (note: the splash image was a screen dump from the .nb converter program -- could not figure out how to save it as a .bmp).
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.
__________________
Grammar: The difference between knowing your shit and knowing you're shit.

Last edited by gguruusa; 11-20-2007 at 02:43 PM.
Reply With Quote