3 ms·
Neat. I needed to make very large PNG bombs recently and toyed with the idea of doing it "manually." In the end I decided to take the lazy route and use libpng[
by tetrep 11y ago
Neat. I needed to make very large PNG bombs recently and toyed with the idea of doing it "manually." In the end I decided to take the lazy route and use libpng[1].
[1]: https://bitbucket.org/tetrep/pngbomb/src/03dfc95065d78562c156c056abc3d5f1fd7047b8/pngbomb.c?at=master https://bitbucket.org/tetrep/pngbomb/src/03dfc95065d78562c15...
- x0 11y agoThis works wonderfully! With an image size 123456x123456, I made this happen: http://i.imgur.com/2Dgrazj.png http://i.imgur.com/2Dgrazj.png I killed it at about 25GB memory usage, who knows how high it would have climbed otherwise.