writeImageToPngFile

this is just like writePng(filename, pngFromImage(image)), but it manages its own memory and writes straight to the file instead of using intermediate buffers that might not get gc'd right

void
writeImageToPngFile
(
in char[] filename
,
TrueColorImage image
)

Meta