-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Bitmap.DecodeToWidth() fails in 0.10.11, 0.10.12 and 0.10.13 #7773
Comments
I also had a problem with that. It should be noted that even in the images that this happens, |
Would it be possible to implement the workaround suggested by @AndersMad in mono/SkiaSharp#1551 (comment)? Because that seems to solve the issue, and it doesn't look like SkiaSharp will fix the underlying bug anytime soon. I didn't create a PR because I don't know what (performance) implications this change might have. Example: Fusion86@fa97014 |
@Fusion86 we are considering replace skiasharp bindings with our smaller solution. But before that and for 0.10 backports your idea would be great to have. |
Probably fixed by: mono/SkiaSharp#2045 |
I tried building Avalonia with SkiaSharp 2.88.1-preview.1 (which includes mono/SkiaSharp#2045) and the issue still exists. That said, they did add the upstream issue to the v2.88.1 milestone, so maybe it'll be fixed in the full release. |
Use the workaround from mono/SkiaSharp#1551 (comment) to load bitmaps. Fixes #7773
Describe the bug
Fails to load bitmap in
0.10.11
,0.10.12
and0.10.13
. Succeeds in0.10.10
and earlier.I believe it is due to using SkiaSharp
2.88.0-preview.178
since0.10.11
: mono/SkiaSharp#1752 mono/SkiaSharp#1551To Reproduce
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: