JImage::toFile

Method to write the current image out to a file.