define a PlotGraphicsContext when saving as .bmp / .png / .jpg

no graphics context was defined in that case, causing an error. I'm using PlotGraphicsContext now.
added dpi kwarg
dpi kw
Merge pull request #149 from pthr/patch-1

define a PlotGraphicsContext when saving as .bmp / .png / .jpg