3 ms·
> in theory changing a single pixel at the top left of the image could cause a chain reaction that could force the whole image to be re-dithered. For a paint p
by crazygringo 2y ago
> in theory changing a single pixel at the top left of the image could cause a chain reaction that could force the whole image to be re-dithered.
For a paint program, I think it would be acceptable if painting with the brush never changed existing pixels, only pixels newly painted with the brush, and you'd apply dithering only to newly added pixels in the brush stroke as the mouse dragged. The fact that you might be able to kinda see the discontinuities at the edge of the brush feels like it would be a feature, not a bug -- that you can see the brush strokes.
The really interesting effect would come when you implemented a dodge or burn tool...
- AndrewStephens 2y agoThe trouble is that dithering works by smearing the error over an area of pixels in a way that your brain unsmears into something close to the original image. If you start manipulating some pixels but not nearby areas then you will get very visible artifacts. Maybe that is OK if you are drawing straight lines and boxes but any kind of detail is going to be destroyed.
- crazygringo 2y agoWell sure, that's why you work in grayscale and only dither in the end if you want to maximize quality and detail. I'm talking about from an artistic perspective. The way you see the brush strokes in certain styles of painting, it would add character to see where two dithered areas of the same lightness had a slightly visible discontinuity. I think it could be a very cool artistic effect.