Generate very smol PNGs that are bigger on the inside.
Find a file
2019-07-15 00:35:17 +01:00
samples Just use the writer form 2019-07-15 00:35:17 +01:00
src Just use the writer form 2019-07-15 00:35:17 +01:00
.gitignore 10k and 100k sample images 2019-07-14 18:24:39 +01:00
Cargo.lock Just use the writer form 2019-07-15 00:35:17 +01:00
Cargo.toml External zlib, BufReaders 2019-07-14 23:56:19 +01:00
README.md README 2019-07-14 17:48:32 +01:00

Create really small PNG files, containing very large bitmaps. This uses 1 bit/pixel grayscale encoding, eg. each bit is a pixel that's either fully black (0) or fully white (1), and as it turns out, streams of zeroes compress very, very well.

Open one to make your viewer run out of RAM. Throw them at your servers to test that they handle very large images properly.