For some reasons, I am required to use GDLibRenderer, that, despite its limits, seems to work well with simple QR Codes displayed in a Web page.
However, if I embed them in a PDF via the TCPDF library, the QR codes appear with only outlines and no filled black modules — rendering them unreadable. Strangely, switching the format to 'gif':
new GDLibRenderer($qrcode_size, 4, 'gif');
resolves the issue (though blurry), suggesting that the root cause is maybe transparency? Any suggestion to solve this issue?
Thanks in advance for any help or clarification!