You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have verified that I am running the latest version of ImageSharp
I have verified if the problem exist in both DEBUG and RELEASE mode
I have searched open and closed issues to ensure it has not already been reported
ImageSharp version
3.0.1
Other ImageSharp packages and versions
None
Environment (Operating system, version and so on)
iOS 16.5.1
.NET Framework version
7
Description
I am using the Maui MediaPicker to take pictures on an iPhone. I am trying to use ImageSharp to fix the problems with MediaPicker, specifically that it returns the image as a png and does not honor phone orientation. I receive an ~18mb png from the media picker. Sizing it to a width of 1920 and saving as a jpg ~350kb with the right orientation takes ~17 seconds. Is there anyway to improve the speed. You product does exactly what I need but the performance makes it unusable in this case.
I think 17 seconds is way too much for this to be about Vector4 or intrinsics. Mono AOT is essentially broken for open generics code we use heavily, falling back to very slow interpreted (?) execution, see dotnet/runtime#71210 (comment).
@JPfahl a comment/upvote on that issue may help to push them in order to have this fixed eventually.
Prerequisites
DEBUG
andRELEASE
modeImageSharp version
3.0.1
Other ImageSharp packages and versions
None
Environment (Operating system, version and so on)
iOS 16.5.1
.NET Framework version
7
Description
I am using the Maui MediaPicker to take pictures on an iPhone. I am trying to use ImageSharp to fix the problems with MediaPicker, specifically that it returns the image as a png and does not honor phone orientation. I receive an ~18mb png from the media picker. Sizing it to a width of 1920 and saving as a jpg ~350kb with the right orientation takes ~17 seconds. Is there anyway to improve the speed. You product does exactly what I need but the performance makes it unusable in this case.
Steps to Reproduce
Images
I can't provide an image because you don't accept anything over 10mb.
The text was updated successfully, but these errors were encountered: