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
This code worked fine in 1.0.0-beta0007 and I'm not 100% sure what's changed, and I didn't see anything too obvious in the release notes that would indicate why this is happening. I am basically just declaring a "default" image format and then letting the Image.Load() overwrite that with whatever it finds.
Dim outFormat As IImageFormat = JpegFormat.Instance
Using img = SixLabors.ImageSharp.Image.Load(Of Rgba32)(imgBytes, format:=outFormat)
End Using
The text was updated successfully, but these errors were encountered:
@antonfirsov You're absolutely right, not specifying Rgba32 fixes it. I don't really have any specific need for that, I had just had Rgba32 left over from previous versions of the beta.
.NET Framework 4.7
ImageSharp version 1.0.1
This code worked fine in 1.0.0-beta0007 and I'm not 100% sure what's changed, and I didn't see anything too obvious in the release notes that would indicate why this is happening. I am basically just declaring a "default" image format and then letting the Image.Load() overwrite that with whatever it finds.
The text was updated successfully, but these errors were encountered: