List Info

Thread: Is my dithering code working do you think?




Is my dithering code working do you think?
country flaguser name
United Kingdom
2007-03-10 10:29:04
You can see the output here:

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

Would welcome views on whether or not these are reasonable
results or if
people think that they indicate something is wrong in the
code (aside
from the fact it is so slow as to be useless - I can always
try to fix
that)


------------------------------------------------------------
-------------
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 States
2007-03-10 14:07:27
Adrian McMenamin wrote:

> You can see the output here:

> http://transpero
.net/nevermind/?p=12

> Would welcome views on whether or not these are
reasonable results or if
> people think that they indicate something is wrong in
the code (aside
> from the fact it is so slow as to be useless - I can
always try to fix
> that)

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

------------------------------------------------------------
-------------
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 )