-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Graphics format PNG not available (are you missing the NuGet package Codecrete.SwissQRBill.Generator?) #68
Comments
The error message sounds as if you are using the If this is not the case, then please describe the technical aspects of the application you are building:
|
I've tried both Codecrete.SwissQRBill.Generator as well as Codecrete.SwissQRBill.Windows PS Exception HResult=0x80131500 at Codecrete.SwissQRBill.Generator.QRBill.CreateCanvas(BillFormat format) |
Your case sound familiar. We've seen it before. If To prevent it, add the following code to the class generating the QR bill:
|
I've taken the case to extend the README. See https://github.com/manuelbl/SwissQRBill.NET?tab=readme-ov-file#png-generation. The better code to include might be |
Thanks a lot! |
Having upgraded from Codecrete.SwissQRBill.Generator 2.5.3 to version 3.3.0 I receive the above mentioned error when attempting to generate a .png type of image (GraphicsFormat = GraphicsFormat.PNG)
What am I missing?
The text was updated successfully, but these errors were encountered: