On Sun, Sep 05, 2010 at 09:07:57AM +0930, David Gowers wrote:
> I'm not yet 100% certain, but I am beginning to suspect that the
> transform 8bit <-> 16bit is asymmetrical,

Not quite sure what this word means in this context, but last time I thought
about it I drew something like that:

  8bit   16bit
+------  32768.0 (= 1<<15)
| 255
+------  32703.75
|
| 254
|
+------
|
| 253
|
+------
...
+------ 129.75
|
| 1     97.0
|
+------ 64.25
| 0     32.125
+------ 0

I am not certain that it is what is implemented or what we actually want. 
Maybe we should look into babl rounding.

> On the upside, I have implemented said dithering and it works pretty
> well (and fast.) :)

That's good news :-)

-- 
Martin Renold

_______________________________________________
Mypaint-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-discuss

Reply via email to