Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 1185
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 127 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 Apr 26 16:35:23 CEST 2024

Total time taken to generate the page: 0.02921 seconds