With this patch it is possible to create PNG files. Only minimal options are supported. The PNG is created with one big IDAT chunk containing only non-compressible DEFLATE blocks.