Export barcode to image

Hi, i've been using .NET Framework 4.8 with the NuGet Package Syncfusion.Pdf.AspNet.Mvc5 to export a QR code to image as follows:

Image_3688_1696140253595

Wich have been working great at this moment.

Now, we're migrating to .NET 6 using the NuGet Package Syncfusion.Pdf.Net.Core, but we get the following error for ToImage method:

Image_5443_1696140592451

Any suggestion will be greatly appreciated.

This function basically returns the image as a Base64 string.

Regards.



2 Replies

RO Rodrigo October 8, 2023 04:35 AM UTC

Hi, still waiting for a reply. Thank you.



KS Karmegam Seerangan Syncfusion Team October 16, 2023 12:36 PM UTC

Hi Rodrigo,


To export barcode as image in .NET Core, we need to refer “Syncfusion.Pdf.Imaging.Portable” assembly, Working with Barcode | Syncfusion


Kindly use the following link to download the NuGet package,

NuGet Gallery | Syncfusion.Pdf.Imaging.Net.Core 23.1.40


Regards,

Karmegam


Loader.
Up arrow icon