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
Note: This issue is part of the planning of version 2 of the QRCoder. The meta-issue can be found here. These comments have been copied into this issue here, with the comments marked as such. If comments on the topic of this issue already exist in the meta thread, they have been copied here, naming the authors.
Topic - Part A
Should we keep System.Drawing.Common based renderers and add new ones with library 'X' or do we ditch System.Drawing.Common completely and replace it with library 'X'?
Topic - Part B
In past discussions, several libraries have been mentioned as replacements for System.Drawing. Among others ImageSharp (now partly has to be licensed?), SkiaSharp (native dependencies under Linux), Maui.Graphics or something else?
I suggest maintaining the existing code. While it's usefulness is likely declining, I see no reason to pitch the existing code. It will certainly be useful for existing users that wish to upgrade to 2.x, and serves as a template (if we like the design pattern) for SkiaSharp / ImageSharp / etc.
SkiaSharp is MIT licensed, has a Nuget package for its linux native assets [1] and is actively maintained.
For us it was the only viable alternative and we've been happily running SkiaSharp in production for over four years now. (ImageSharp has changed its licensed years ago. Maui still does not support Linux, and even Microsoft itself puts it lowest on its list of alternatives [2].)
@Shane32 any plans to release a SkiaSharp version any time in the foreseeable future? It seems to move every now and then and then stall again, e.g. Streamlined/Slimmed-down Version 2..
We'd love to be able to finally eliminate long out-of-support System.Drawing.Common and gdiplus [3] in line with our security policies.
Last but not least: This all in full appreciation of your work and efforts! And in full realization we are in no position to make any demands. There is not much I can offer to help, but if we can help test a preview, please let us know.
Yes, certainly planned to separate the drawing libraries from the base library, so users can pick their drawing library of choice - or as is the case more often than not, eliminate all dependencies when a drawing package is not required.
@Shane32 any idea when those plans could bear fruit? Would you expect to release something later this year? (Just FYI only: For us having a full supported version on .Net10 and Linux is becoming more of a priority yet we can only contribute input and some testing)
Furthermore I found some promising previous attempts [1][2], that are now Closed unmerged, but couldn't find an active branch, nor a separate folder or repo so I also wonder this new code lives (or will live).
[1] PR #407 Adds Support for ImageSharp and SkiaSharp using two independent projects for maximum compatibility
[2] PR #462 Use SkiaSharp to support SvgQRCode in .NET6
@Shane32 I was informed that for the part we use (PngByteQRCode) we could already eliminate System.Drawing.Common so our immediate (security/maintenance) driver is gone.
Of course, it would be great if this would become more apparent in the packaging as you described (#548 (comment)).
Activity
codebude commentedon May 26, 2024
Part A
Part B
codebude commentedon May 26, 2024
jeroenhabets commentedon Jul 8, 2026
SkiaSharp is MIT licensed, has a Nuget package for its linux native assets [1] and is actively maintained.
For us it was the only viable alternative and we've been happily running SkiaSharp in production for over four years now. (ImageSharp has changed its licensed years ago. Maui still does not support Linux, and even Microsoft itself puts it lowest on its list of alternatives [2].)
@Shane32 any plans to release a SkiaSharp version any time in the foreseeable future? It seems to move every now and then and then stall again, e.g. Streamlined/Slimmed-down Version 2..
We'd love to be able to finally eliminate long out-of-support
System.Drawing.Commonandgdiplus[3] in line with our security policies.Last but not least: This all in full appreciation of your work and efforts! And in full realization we are in no position to make any demands. There is not much I can offer to help, but if we can help test a preview, please let us know.
[1] https://www.nuget.org/packages/SkiaSharp.NativeAssets.Linux.NoDependencies/
[2] https://learn.microsoft.com/en-gb/dotnet/core/compatibility/core-libraries/6.0/system-drawing-common-windows-only
[3] mono/libgdiplus#744
Shane32 commentedon Jul 8, 2026
Yes, certainly planned to separate the drawing libraries from the base library, so users can pick their drawing library of choice - or as is the case more often than not, eliminate all dependencies when a drawing package is not required.
jeroenhabets commentedon Jul 9, 2026
@Shane32 any idea when those plans could bear fruit? Would you expect to release something later this year? (Just FYI only: For us having a full supported version on .Net10 and Linux is becoming more of a priority yet we can only contribute input and some testing)
Furthermore I found some promising previous attempts [1][2], that are now Closed unmerged, but couldn't find an active branch, nor a separate folder or repo so I also wonder this new code lives (or will live).
[1] PR #407 Adds Support for ImageSharp and SkiaSharp using two independent projects for maximum compatibility
[2] PR #462 Use SkiaSharp to support SvgQRCode in .NET6
cirrussys commentedon Sep 29, 2026
@Shane32 I was informed that for the part we use (PngByteQRCode) we could already eliminate System.Drawing.Common so our immediate (security/maintenance) driver is gone.
Of course, it would be great if this would become more apparent in the packaging as you described (#548 (comment)).