BitmapEx encode the Bitmap, now its fully automatic