Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Android] Exception trying to load big images #232

Open
jsuarezruiz opened this issue Jan 12, 2022 · 1 comment
Open

[Android] Exception trying to load big images #232

jsuarezruiz opened this issue Jan 12, 2022 · 1 comment

Comments

@jsuarezruiz
Copy link

Using the same images from the sample created with Xamarin.Forms or .NET MAUI (where the images are working correctly), get a crash:

'Canvas: trying to draw too large(181500000bytes) bitmap.'

For example: https://github.com/jsuarezruiz/netmaui-travel-app-challenge/blob/main/src/Xamarin.Forms/TravelApp/TravelApp.Android/Resources/drawable/destination1.jpg

In Comet just reduced the image size to get it working.

@Clancey
Copy link
Collaborator

Clancey commented Jan 13, 2022

This sounds like a bug in Core. If controls fixed it we should move that fix to Core.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants