List Info

Thread: Re: Is my dithering code working do you think?




Re: Is my dithering code working do you think?
country flaguser name
United Kingdom
2007-03-10 15:31:26
On Sat, 2007-03-10 at 12:07 -0800, Greg Roelofs wrote:

> You're close, but there's something wrong with the
color selection in
> your dithering algorithm (maybe an off-by-one error?). 
The wall behind
> Dale should not have come out gray--you have plenty of
yellows available
> (as evidenced by the second image), but you're not
using them.  Ditto
> for the blues in the sheet(?)--you're pulling in some
yellows and a bunch
> of dark stuff that shouldn't be there.
> 
> You could try shifting the palette by one to test; then
you wouldn't have
> to spend another four hours dithering to test, at least
not right away. 
> All hail the mighty hex editor...
> 
> Greg

Scanning through the code it appears the problem may (well,
it's a
problem, not sure if it's the only one) have been a poor
search through
the palette on the blue axis - due to typing '+ 3' instead
of '* 3'. So
thanks for pointing me in that direction.

Hopefully will be able to post up the 'correct' PNGs in due
course


------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
png-mng-implement mailing list
png-mng-implementlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/png-m
ng-implement

Re: Is my dithering code working do you think?
country flaguser name
United Kingdom
2007-03-11 05:52:49
Think it's fixed now...

http://transpero
.net/nevermind/?p=13


------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
png-mng-implement mailing list
png-mng-implementlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/png-m
ng-implement

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )