mono / SkiaSharp

SkiaSharp is a cross-platform 2D graphics API for .NET platforms based on Google's Skia Graphics Library. It provides a comprehensive 2D API that can be used across mobile, server and desktop models to render images.
MIT License
4.52k stars 540 forks source link

[FEATURE] Missing image codecs when moving from deprecated System.Drawing.Common #1821

Closed JanKallman closed 2 years ago

JanKallman commented 3 years ago

Is your feature request related to a problem? Please describe. The .NET team contacted us regarding the deprecation of System.Drawing.Common on non-windows platforms from .NET 6 and recommended SkiaSharp as a possible replacement. See this issue. Looking at SkiaSharp I notice that it is missing a few of the image codecs supported by System.Drawing.Common in Windows.

I work on EPPlus which uses System.Drawing.Common for imaging and font measuring today. Even though these formats might be considered legacy, they are supported and used by Excel and other Office products. Emf is for example used when rendering all ActiveX controls in Office.

Describe the solution you'd like

Implement codecs supported by System.Drawing.Common. Native support for svg would also be nice.

Describe alternatives you've considered

Additional context

safern commented 3 years ago

cc: @mattleibow

JanKallman commented 2 years ago

Any update on this?

JanKallman commented 2 years ago

You can ignore this. We solved it without SkiaSharp