Neat. I needed to make very large PNG bombs recently and toyed with the idea of doing it &quot;manually.&quot; In the end I decided to take the lazy route and use libpng[1].<p>[1]: <a href="https:&#x2F;&#x2F;bitbucket.org&#x2F;tetrep&#x2F;pngbomb&#x2F;src&#x2F;03dfc95065d78562c156c056abc3d5f1fd7047b8&#x2F;pngbomb.c?at=master" rel="nofollow">https:&#x2F;&#x2F;bitbucket.org&#x2F;tetrep&#x2F;pngbomb&#x2F;src&#x2F;03dfc95065d78562c15...</a>