First implementation of "save as png".