CHANGED:applied the dpi function on save image bitmapdata