Replies: 1 comment 1 reply
-
|
Hi there mate, I'm a touch confused - this library only really supports Apple platforms (many of the source files import CoreGraphics for example). If I try to build it using Docker I get a lot of compile errors relating to missing CoreGraphics calls. Can you explain your process for generating QRCodes on Linux with this library? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm currently using this library in a Vapor project deployed via Docker on Linux.
The basic QR code generation works perfectly. However, I am trying to use the logoTemplate feature to embed a custom logo into the QR code.
Since CoreGraphics (CGImage) is not available on Linux, I am unable to pass the image object as required by the current API.
My Question: Is there any workaround to use logoTemplate on a Linux server? For example, is it possible to pass the logo as raw Data, a file path, or use a Linux-compatible type (like from SwiftGD) instead of CGImage?
Any advice on how to achieve this in a Vapor/Docker environment would be greatly appreciated.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions