-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Description
Bug Report
QR Code Rendering issue in PNG Format Image
Description of the problem
I'm having issues showing QR Code which is in PNG format, There are some unexpected white dots are showing on multiple points of QR Code Image, Also for this case Height Attribute is not working correctly,
Result is shown below:

Code sample
const imgRes = await fetch(orderItem?.qrcode);
const imgBuffer = await imgRes.buffer();
doc.image(imgBuffer, pageWidth - 170, y + 5, {
width: 150,
height: 250,
});
Metadata
Metadata
Assignees
Labels
No labels