LoginLogin
Nintendo shutting down 3DS + Wii U online services, see our post

Dithering

Root / Submissions / [.]

12Me21Created:
Pretend that (for some reason) you want to send this image to SmileBASIC: If you try to convert it directly to a format that works in SB, it ends up looking like this: That's because SB only uses 16 bits to store colors instead of 32. However, you can use dithering to make it look better: http://12Me21.github.io/dither This type of dithering works by calculating the difference between the 32 bit color and the 16 bit color, and spreading the error to surrounding pixels. For example, if one pixel is made slightly darker when converting to 16 bit, the surrounding pixels (the ones that have not been converted yet) will be made slightly lighter.

erm can you dither with multiple colors, to make an ultragradient?

Replying to:chicken
erm can you dither with multiple colors, to make an ultragradient?
what.

Replying to:chicken
erm can you dither with multiple colors, to make an ultragradient?
16-bitify the gradient, then dither the gradient with the colors found on the 16-bitified one.

Replying to:chicken
erm can you dither with multiple colors, to make an ultragradient?
The dithering needs to be done before converting to 16 bit, since some information is lost when converting.

Replying to:chicken
erm can you dither with multiple colors, to make an ultragradient?
yeah it's much better to do it with ze noise

Clever! I use Photoshop to convert my image into an 8 bit png, which automatically dithers it to make up for limited colors

This makes sense

This uses the Floyd-Steinberg (that was it's name right?) algorithm or a cooler one like Bayer matrix?

Replying to:hakke
This uses the Floyd-Steinberg (that was it's name right?) algorithm or a cooler one like Bayer matrix?
it looks like floyd-steinberg to me, the patterns arent regular