U++ framework
Do not panic. Ask here before giving up.

Home » Community » Coffee corner » Do we have a QR image generator?
Re: Do we have a QR image generator? [message #57261 is a reply to message #57259] Sun, 20 June 2021 16:27 Go to previous messageGo to previous message
forlano is currently offline  forlano
Messages: 1244
Registered: March 2006
Location: Italy
Senior Contributor
I found this library
https://github.com/nayuki/QR-Code-generator
that produce a svg file (see attached).

Now I am playing without success to convert this file in a png.

Image img = RenderSVGImage( Size(200, 200), LoadFile("C:\\upp\\out\\reference\\CLANGx64.Gui\\qr.svg"));
PNGEncoder png;
png.SaveFile(GetExeDirFile("qr.png"), img);


But I get a small blurred image in the left top side.
Which is the approved way to convert a svg file to a png?

Thanks,
Luigi

  • Attachment: qr.svg
    (Size: 3.59KB, Downloaded 306 times)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: important note when a strange compilation error occurs
Next Topic: The serial number is getting smaller.
Goto Forum:
  


Current Time: Fri Sep 18 08:05:56 GMT+2 2026

Total time taken to generate the page: 0.04524 seconds