Skip to content

csokay/4d-plugin-qrencode

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 

Repository files navigation

4d-plugin-qrencode

4D plugin to generate QR code.

##Platform

carbon cocoa win32 win64
πŸ†— πŸ†— πŸ†— πŸ†—

Commands

QRCODE

Example

C_TEXT($data)
C_PICTURE($picture)

$version:=1
$size:=9
$margin:=1
$dpi:=96

$picture:=QRCODE ("www.wakanda.org";QR Format PNG;QR Mode Unicode;QR Correction Level L;$version;$size;$margin;$dpi;$data)
WRITE PICTURE FILE(System folder(Desktop)+"qr-test.png";$picture)
  //data is base64 encoded png

$picture:=QRCODE ("www.wakanda.org";QR Format SVG;QR Mode Unicode;QR Correction Level L;$version;$size;$margin;$dpi;$data)
WRITE PICTURE FILE(System folder(Desktop)+"qr-test.svg";$picture)
  //data is the svg source

SET PICTURE TO PASTEBOARD($picture)

Pass a combination of flags to QR Mode Unicode, QR Mode Kanji, and QR Mode Micro to mode.

About

4D plugin to generate QR code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 70.9%
  • C++ 19.1%
  • Objective-C 9.3%
  • HTML 0.7%