output image to ejoy2d simplepackage