Module
Puregrain.Internal.Image
- Package
- purescript-puregrain
- Repository
- roman-mkh/puregrain
The two drivers that run the diffusion over a whole image, row by row,
with any Fifo backend and any conversion to light: ditherImageVia
over an array of rows (all at once) and ditherRowsVia over a lazy
list of rows (each when asked for). Both drive the same stepRow, so
they give the same result; a row of a different length, a Left from
stepRow, becomes a runtime error here, since neither result type can
carry it.
Internal: Puregrain.Dither exports them with the production backend;
the tests use them to check every backend against a reference.
- Modules
- Puregrain
- Puregrain.
Cells - Puregrain.
Dither - Puregrain.
Gamma - Puregrain.
Internal. Exact - Puregrain.
Internal. Fifo - Puregrain.
Internal. Gamma - Puregrain.
Internal. Image - Puregrain.
Internal. Kernel - Puregrain.
Internal. Quantize - Puregrain.
Internal. Row - Puregrain.
Internal. SelfCheck - Puregrain.
Internal. State - Puregrain.
Internal. Step - Puregrain.
Internal. Util - Puregrain.
Kernel - Puregrain.
Machine. C64 - Puregrain.
Machine. ZxSpectrum - Puregrain.
Ordered - Puregrain.
Palette - Puregrain.
Palette. Presets - Puregrain.
Pixel - Puregrain.
Quantize - Puregrain.
SelfCheck