TextToQRCode

From GECK
Jump to: navigation, search


A function added by the SUP NVSE Plugin.

Description

Turns a string into a QR code and outputs to a .png file.

Syntax

[help]
TextToQRCode FileName:string Text:string ConvertToUTF8:int

Example

TextToQRCode "QrCodes\MyQrCode" "I love bacon" 0

Will create "MyQrCode.png" in "QrCodes" folder containing text "I love bacon".

TextToQRCode "QrCodes\NOMAD" "Хотел бы чтобы вы сделали игру, 3Д-экшон суть такова.."

Will create "NOMAD.png" in "QrCodes" folder containing text "Хотел бы чтобы вы сделали игру, 3Д-экшон суть такова..".

Notes

  • If folder doesn't exist - it will be created.
  • The third parameter is enabled by default. Convertion allows outputting cyrillic\chinese symbols but takes additional time. Set it to 0 only if you are sure output will contain ONLY latin symbols.