官網 qrencode-win32
--
試了一大堆 for .net dll QRcode ,結果都是密度 dpi 不夠!
要開發電子發票,根本行不通
試了一下 qrencode-win32 , 果然可以用!! 轉出 41x41 或 82x82 縮小 1.7cm 均可掃出來!
不過這套用在程式,目前採用 .bat 批次檔去產QRcode 圖! 為 big5 格式!
若採用 process 呼叫丟值的話,不知道是不是就變 UTF-8 格式! 有待測試
--
還在為開發電子發票QRcode的,改用這支工具來用
總算看到支援UTF-8了!!
qrencode-win32- UTF-8
指令: qrcode -o my.png -s 5 -l Q < input.txt
---
OT: qrcode--參數用法
參數:
C:\Program Files (x86)\QRCodeGui>qrcode
qrencode version 3.1.1
Copyright (C) 2006, 2007, 2008, 2009 Kentaro Fukuchi
Usage: qrencode [OPTION]... [STRING]
Encode input data in a QR Code and save as a PNG image.
-h display this message.
--help display the usage of long options.
-o FILENAME write PNG image to FILENAME. If '-' is specified, the result
will be output to standard output. If -S is given,
structured
symbols are written to FILENAME-01.png, FILENAME-02.png,
...;
if specified, remove a trailing '.png' from FILENAME.
-s NUMBER specify the size of dot (pixel). (default=3)
-l {LMQH} specify error collectin level from L (lowest) to H
(highest).
(default=L)
-v NUMBER specify the version of the symbol. (default=auto)
-m NUMBER specify the width of margin. (default=4)
-S make structured symbols. Version must be specified.
-k assume that the input text contains kanji (shift-jis).
-c encode lower-case alphabet characters in 8-bit mode.
(default)
-i ignore case distinctions and use only upper-case characters.
-8 encode entire data in 8-bit mode. -k, -c and -i will be
ignored.
-V display the version number and copyrights of the qrencode.
[STRING] input data. If it is not specified, data will be taken from
standard input.
C:\Program Files (x86)\QRCodeGui>
沒有留言:
張貼留言