A Clojure library designed to generate QRCode wrapped java QRGen.
A Clojure library designed to generate QRCode wrapped java [QRGen](https://github.com/kenglxn/QRGen).
(as-file qc)
(as-file qc name)
Returns a java.io.File representation of the QR code. The file is set to be deleted on exit. If you want the file to live beyond the life of the jvm process, you should make a copy.
Returns a java.io.File representation of the QR code. The file is set to be deleted on exit. If you want the file to live beyond the life of the jvm process, you should make a copy.
(as-input-stream qc)
Returns a InputStream representation of the QR code.
Returns a InputStream representation of the QR code.
Returns a OutputStream representation of the QR code.
Returns a OutputStream representation of the QR code.
(as-stream qc)
Returns a java.io.ByteArrayOutputStream representation of the QR code. Deprecated.
Returns a java.io.ByteArrayOutputStream representation of the QR code. Deprecated.
EncodeHintType/DATA_MATRIX_SHAPE
EncodeHintType/DATA_MATRIX_SHAPE
EncodeHintType/ERROR_CORRECTION
EncodeHintType/ERROR_CORRECTION
(from source & opts)
Create a QR code from the given text or VCard with supplied options. Valid options include: :image-type -- image type, such as JPG,GIF or PNG; :size -- a vector for image size that is in the form of [width height], default is [125 125]; :charset -- character set string,such as "UTF-8" etc; :correction -- error correction level, it can be L,M,Q or H; :hint -- write hint, it can be ERROR_CORRECTION,CHARACTER_SET,MARGIN,PDF417_COMPACT,PDF417_COMPACTION or PDF417_DIMENSIONS.
Create a QR code from the given text or VCard with supplied options. Valid options include: :image-type -- image type, such as JPG,GIF or PNG; :size -- a vector for image size that is in the form of [width height], default is [125 125]; :charset -- character set string,such as "UTF-8" etc; :correction -- error correction level, it can be L,M,Q or H; :hint -- write hint, it can be ERROR_CORRECTION,CHARACTER_SET,MARGIN,PDF417_COMPACT,PDF417_COMPACTION or PDF417_DIMENSIONS.
EncodeHintType/PDF417_COMPACTION
EncodeHintType/PDF417_COMPACTION
EncodeHintType/PDF417_DIMENSIONS
EncodeHintType/PDF417_DIMENSIONS
(vcard name & {:keys [company title phonenumber email address website]})
Created a vCard data with options, valid options include: :company :title :phonenumber :email :address :website
Created a vCard data with options, valid options include: :company :title :phonenumber :email :address :website
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close