Skip to content
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

QRCode class no longer works properly on Mac OS when mono-libgdiplus is updated to version 6.0.4 #210

Closed
manikata0 opened this issue Oct 29, 2019 · 8 comments

Comments

@manikata0
Copy link

manikata0 commented Oct 29, 2019

On both Mac os 10.14 and Mac os 10.15 when using the QRCode class to create QR code with custom logo inside, when mono-libgdiplus is updated to 6.0.4 , the QR code generated is mangled. The BitmapByteQRCode works fine with mono-libgdiplus and QR codes generated are spot on.
The project has the same behaviour on .Net Core versions 2.1,2.2,3.0 and 3.1 and was tested with QRCoder 1.3.5 and 1.3.6. Works fine on Windows

@manikata0
Copy link
Author

manikata0 commented Oct 31, 2019

Its now proved that this is caused by mono-libgdiplus. I have removed the most up-to-date brew version -6.0.4 and manually installed 5.6.1 from their github repository and now QRCoder works fine

@codebude
Copy link
Owner

Unfortunately I have no MacOS environment to test this. But from the description it sound like an error with the libgdiplus. Does this error still occur with the latest libgdiplus version? And can you check if this still happens for the latest QR coder built. (Either compile from GitHub or take the latest build from the myget stream as described in our readme.)

@manikata0
Copy link
Author

manikata0 commented Apr 5, 2020 via email

@codebude
Copy link
Owner

codebude commented Apr 5, 2020

Hi @manikata0 ,

you responded to the notification mail from Github. This lead to an automatic comment in the Github issue. Unfortunatly the attachments from your mail were dropped by Github. Could you please open the issue in your webbrowser and manuelly comment/add/upload the files?

@scaballero0
Copy link

Encountered a similar problem on MacOS where my project stopped working when updating mono-libgdiplus. I fixed it by installing runtime.osx.10.10-x64.CoreCompat.System.Drawing

@josegomez
Copy link

@codebude having the same issue on Mac, I have a Mac to test with if you'd like me to do some testing

@Sdraugel
Copy link

Sdraugel commented Jun 2, 2020

I fixed the issue and tested it on my Mac.

#232 (comment)

@codebude
Copy link
Owner

Hi @manikata0 ,

this issue should be solved with the merging of #245 thus I'll close the issue. If you experience any further problems, let me know so that I can re-open the issue or open a new issue. Thanks for being patient and apologizes for the slow response time!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants