Save an image to filename
0.4.5
an ImageData instance holding the pixel data to be saved
the filename to save the image to
the format to use