What about dithering for the smallest possible images? I'm talking in the 300 byte - 2kb range here. Does anyone have any suggestions for what to do to really get file size down?
Ditherpunk: The article I wish I had about monochrome image dithering
51–60 of 203 posts
Re: Ditherpunk: The article I wish I had about monochrome image dithering
#52Re: Ditherpunk: The article I wish I had about monochrome image dithering
#53As for arbitrary-palette positional dithering, there's no better write up than https://bisqwit.iki.fi/story/howto/dither/jy/
> This paper introduces a patent-free positional (ordered) dithering algorithm that is applicable for arbitrary palettes. Such dithering algorithm can be used to change truecolor animations into paletted ones, while maximally avoiding unintended jitter arising from dithering.
He demonstrates it "live coding" style in this[1] video where he writes a demo in 256 colors of a "starfield" animation with color blending and Gaussian blur style bloom. The first animation at 6:33 using traditional ordered dithering has the usual annoying artifacts. The animation at 13:00 using an optimal palette and his "gamma-aware Knoll-Yliluom positional dithering" changed my understanding of what was possible with a 256 color palette. The animation even looks decent[2] dithered all the way down to a 16 color palette!
If that wasn't crazy enough, he also "live codes" a raytracer[3] in DOS that "renders in 16-color VGA palette at 640x480 resolution."
[1] https://www.youtube.com/watch?v=VL0oGct1S4Q
Re: Ditherpunk: The article I wish I had about monochrome image dithering
#54What an odd coincidence… I just acquired an "Inkplate" for my birthday (a recycled Kindle screen glued onto a board with an Arduino and wifi) and was in the process of looking for old 1bit art for it, stumbled across the term "ditherpunk" just last night. - https://inkplate.io artists: - https://unomoralez.com - https://www.instagram.com/mattisdovier/?hl=en - https://wiki.xxiivv.com/site/dinaisth.html I'm going to st…
https://mariteaux.somnolescent.net/junk/hypercard/
Raid away :)
Re: Ditherpunk: The article I wish I had about monochrome image dithering
#55What about dithering for the smallest possible images? I'm talking in the 300 byte - 2kb range here. Does anyone have any suggestions for what to do to really get file size down?
Re: Ditherpunk: The article I wish I had about monochrome image dithering
#56It was nice to see a mention of Robert Ulichney. His 1987 book "Digital Halftoning" covers most of the ground that this blog post does, plus more.
Re: Ditherpunk: The article I wish I had about monochrome image dithering
#57Another way to think of dither (that may only make sense to people with a signals background) is that it linearizes the error introduced by the quantization step (which is a non-linear process). This has a bunch of conceptual implications (like elimination of error harmonics being natural consequence) but maybe most importantly allows you to continue using linear analysis tools and techniques in systems with a quanti…
Re: Ditherpunk: The article I wish I had about monochrome image dithering
#58Re: Ditherpunk: The article I wish I had about monochrome image dithering
#59The article mentions Bill Atkinson’s dithering algorithm, invented during his work on the original Macintosh. You can also read more about it here: https://www.evilmadscientist.com/2012/dithering/ It’s actually implemented in BitCam iOS app by icon factory: https://iconfactory.com/bc.html And Emilio Vanni did a neat e-paper display experiment with it here: https://www.emiliovanni.com/atkinson-dithering-machine
Re: Ditherpunk: The article I wish I had about monochrome image dithering
#60Earlier quoted context omitted.
discussed by the author of the mentioned game (return of the obra dinn) here: https://forums.tigsource.com/index.php?topic=40832.msg136374...
I originally found out about Obra Dinn by reading that devlog—it's totally fascinating, and shows impressive attention to detail. > It feels a little weird to put 100 hours into something that won't be noticed by its absence. Exactly no one will think, "man this dithering is stable as shit. total magic going on here." Luckily, thanks to this post, we have the privilege of thinking that.