added support for saveImage(Bitmap)