jamesmontemagno / ImageCirclePlugin

Circle Images for your Xamarin.Forms Applications
MIT License
240 stars 68 forks source link

Incorrect drawing on Android API 24 with using Scale. #46

Open benevbright opened 6 years ago

benevbright commented 6 years ago

If you are creating an issue for a BUG please fill out this information. If you are asking a question or requesting a feature you can delete the sections below.

Failure to fill out this information will result in this issue being closed. If you post a full stack trace in a bug it will be closed, please post it to http://gist.github.com and then post the link here.

Bug Information

Version Number of Plugin: 1.8.1 Device Tested On: SDK 24 Simulator Tested On: Version of VS: mac 7.1.3 Version of Xamarin: XF 2.3.4.270 latest stable Versions of other things you are using: Xamarin.Android 7.4.3.1

Steps to reproduce the Behavior

On the android SDK 24 or above. If I set scale as 0.5, Circular masking is broken.

Expected Behavior

Actual Behavior

Code snippet

Screenshotst

benevbright commented 6 years ago

I will upload a screenshot too later.

benevbright commented 6 years ago

error

jamesmontemagno commented 6 years ago

What if you use a normal Image and not a CircleImage?

benevbright commented 6 years ago

Hi, James. It is a normal Image, not circle image.

Oh, you meant regular Image class? Of course, it acts as I expected. You can see the screenshot above, photo scale downed to 0.5 correctly but masking didn't.

richp582 commented 5 years ago

I'm seeing this too, but not using scale, but by applying a rotation. 0 and +- 90 are fine, but the 45 degree marks are messed up.

dharamhbtik commented 4 years ago

Any Update or workaround for this issue? I am getting this behavior in Android 7 and it is working fine in Android 10 Beta.