Please add methods for savetoimagefile and savetoimagestream with parameters for height, width and imagetype (png,svg)