image.save(string filename,Tensor src,string type) saves a Tensor src out as an image of type type to the file filename.

type can be currently only be set to 'PNG'.

image.save(string filename) saves a PNG.