empira / PDFsharp

PDFsharp and MigraDoc Foundation for .NET 6 and .NET Framework
https://docs.pdfsharp.net/
Other
492 stars 114 forks source link

DrawMatrixCode seems to be returns null always in .Net8 #101

Closed Adhikesevan closed 6 months ago

Adhikesevan commented 6 months ago

I have used the code to draw the QR code in pdfsharp.

Reporting an Issue Here

Expected Behavior

Need to draw the barcode matrix.

Actual Behavior

Throwing System.InvalidOperationException: ''XImage' must not be null here.' exception, image

ThomasHoevel commented 6 months ago

You need the GDI build of PDFsharp to draw matrix codes.