Open mchan004 opened 4 years ago
It's a bug. But if you make sure the width of your image is dividable by 8 (e.g. 160), it'll work.
Printer
framework has been rewrite.
can you help testing qrcode&image command?
let receipt = Receipt(.🖨️58(.ascii))
<<~ .style(.initialize)
<<< QRCode(content: "https://g.cn")
<<< Image(cgImage)
I try to get Data from Ticket When convert Image to Data, it will Fatal error: Index out of range How to resolve it?