A canvas is a surface on which commands are rendered to output an image or drawing. The output result can be exported to some file formats. (See also the topic "Serializing a widget".)
Raster images:
Vector files:
More interesting formats can be seen on the page "http://wikipedia.org/wiki/Graphics_file_formats ".