I want to get bitmap from imageview with vectordrawable resource that rotated on X or Y axis but the quality of bitmap is not good. The quality without rotation or "setRotation" is good but when I use "setRotationX" or "setRotationY" or Camera to rotate, the bitmap quality comes down. This problem is just when I set "setImageResource" to a vectordrawable, jpeg or png images have not this problem. I think this is a bug on vectordrawable...
This is my code to get a bitmap:
itemBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
final Canvas canvas = new Canvas(itemBitmap);
cv.save();
imageView.draw(canvas);
cv.restore();