Skip to content

'' is an unsupported type #1360

@alexkozler

Description

@alexkozler

.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.

Dim outFormat As IImageFormat = JpegFormat.Instance
	Using img = SixLabors.ImageSharp.Image.Load(Of Rgba32)(imgBytes, format:=outFormat)
End Using

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions