RE: [AD] Possible problem with dithering 24-bit bitmaps containing bright pink

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> Somebody on SourceForge has discovered what I believe to be a bug in the
> dithering routines. For the discussion thus far, please visit (sorry,
> should be all one line) :

the gimp does the same :)
i believe it is due to the fact that palettes have color components
ranging 0-63, so the scaling is 0-252.
the solution would be to use allegro's rgg_scale_6 (IIRC), which would
solve the problem without a hack nor an added routine.
that is, if my guess about the cause is right.

-- 
Lyrian 



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/