Commit graph

5 commits

Author SHA1 Message Date
nworbnhoj
afef00a028 breakout mod Img RGB raster 2022-07-28 06:06:16 +10:00
nworbnhoj
98586ffc6c breakout mod GreyScale adaptor iterator 2022-07-28 05:58:31 +10:00
nworbnhoj
2d0ddc3450 breakout mod Shrink adaptor iterator 2022-07-28 05:53:16 +10:00
nworbnhoj
64f6ddeade breakout mod Dither adaptor iterator 2022-07-28 05:51:07 +10:00
nworbnhoj
7cd5ee82ce Implement decode_png adaptor iterator
This incomplete PNG decoder presents as an Iterator reading u8 bytes directly from a Reader.

Aproaching a png decoder as an Iterator requires significantly less Heap than
the traditional batch aproach.

On Precursor, this enables PNG bytes to be intercepted at the network interface
and processed into the much smaller gam::Bitmap format without ever having to
store the original PNG file.
2022-07-27 09:18:19 +10:00