SixLabors / ImageSharp

:camera: A modern, cross-platform, 2D Graphics library for .NET
https://sixlabors.com/products/imagesharp/
Other
7.31k stars 846 forks source link

ImageSharp poor performance on Blazor Assembly & MAUI #2631

Closed 3egirlsdream closed 8 months ago

3egirlsdream commented 8 months ago

Prerequisites

ImageSharp version

3.1.1

Other ImageSharp packages and versions

SixLabors.Fonts2.0.1

Environment (Operating system, version and so on)

MAUI Android & Blazor Assembly In browser

.NET Framework version

.net 8

Description

In Blazor Assembly and MAUI Android every function run slowly dozens of times. I don't know who should pay for it. ms or sb. but SkiaSharp worked well. that's I want to say.

Steps to Reproduce

Image.Load() U will understand

Images

No response

JimBobSquarePants commented 8 months ago

You should raise this with the Maui team. We’re not responsible for the failures of the Xamarin compiler.

https://github.com/dotnet/runtime/issues/71210#issuecomment-1193075312

3egirlsdream commented 8 months ago

You should raise this with the Maui team. We’re not responsible for the failures of the Xamarin compiler.

dotnet/runtime#71210 (comment)

and Blazor Assembly as well,not Xamarin compiler , if MS should fix it, maybe your team person in charge should ask MS to hurry up fix it? ur product worked not well, u don't care about it ?

sharpwood commented 3 months ago

This is a serious issue: ImageSharp cannot be used at all on MAUI Android.

antonfirsov commented 3 months ago

@sharpwood the only way to push this forward is to upvote & comment on https://github.com/dotnet/runtime/issues/71210. There are no reasonable ways to address this from within the library.