ststeiger / PdfSharpCore

Port of the PdfSharp library to .NET Core - largely removed GDI+ (only missing GetFontData - which can be replaced with freetype2)
Other
1.06k stars 235 forks source link

License Restrictions: SixLabors.ImageSharp is not 100% permissive #306

Open sangeethnandakumar opened 1 year ago

sangeethnandakumar commented 1 year ago

Your port works very fine. But this uses SixLabors.ImageSharp & SixLabors.Fonts which are not very permissive and requires commercial licenses.

License link: https://github.com/SixLabors/ImageSharp/issues/1024

Since they're very restrictive in usage, Can they be replaced with any more open source MIT based image and font libraries

Great work anyways ..!

sangeethnandakumar commented 1 year ago

Better migrate to: SkiaSharp

It's 100% open source MIT licensed Has most options as ImageSharp Is supported and used in Microsoft MAUI projects as well

jizc commented 1 year ago

ImageSharp is licensed under Apache License 2.0, which is very permissive.

sangeethnandakumar commented 1 year ago

But this project is MIT licensed. Still we can't use for commercial projects because of it's dependency is not fully permissive Apache 2.0. We can't sell a software without exposing source code as per there license terms

sangeethnandakumar commented 1 year ago

There commercial licensing is AGPL which is not very permissive. image

m-gallesio commented 1 year ago

There commercial licensing is AGPL which is not very permissive.

Please read the very first line in that post; the actual license is Apache 2 which does NOT require disclosing sources.

However ImageSharp will be changing its license again for v3.0, see this issue for more details.