Closed hardikbhalodi closed 1 year ago
Try 8b2a97c5e6
snapshot
Seem its fixed in 8b2a97c5e6
but when it is drawable its look strange check the images but after generate bitmap all good
BITMAP OUTPUT GOOD
DRAWABLE OUTPUT (Sometime good )
Only after 8b2a97c5e6
or it was before too?
Before too!, i tried in 1.6.1 same and got same out put
This happening when i am setting logo from phone gallery and convert selected Bitmap to Drawable using below code
Drawable d = new BitmapDrawable(getResources(), bitmap); <=== issue when using this
But i change to this code and all good now.
Drawable d = RoundedBitmapDrawableFactory.create(context.getResources(), bitmap); < === This code fixed the drawable issue.
Describe the bug When set logo with Accurate or Natural padding (0.25) and its not cropping correctly and outline visible, also same issue for all shape circle or round rectangle etc. i tired with JPG and PNG logo, issue faced for both.
Versions Library : '1.6.1' Android: 13
![Screenshot_20230419_113643](https://user-images.githubusercontent.com/4948894/232982928-c180400a-0d74-4a5f-acc7-56ea33b635ab.png)