mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-28 19:18:44 +00:00
:octocat:
This commit is contained in:
@@ -33,15 +33,15 @@ namespaced, cleaned up, improved and other stuff. It also features a QR Code rea
|
||||
- Generation of [Model 2 QR Codes](https://www.qrcode.com/en/codes/model12.html), [Version 1 to 40](https://www.qrcode.com/en/about/version.html)
|
||||
- [ECC Levels](https://www.qrcode.com/en/about/error_correction.html) L/M/Q/H supported
|
||||
- Mixed mode support (encoding modes can be mixed as needed within a QR symbol)
|
||||
- Supported modes: numeric, alphanumeric, 8-bit binary as well as the double-byte modes kanji (Japanese, Shift-JIS) and hanzi (simplified Chinese, GB2312/GB18030)
|
||||
- Supported modes: numeric, alphanumeric, 8-bit binary as well as the 13-bit double-byte modes kanji (Japanese, Shift-JIS) and hanzi (simplified Chinese, GB2312/GB18030)
|
||||
- Flexible, easily extensible output modules
|
||||
- Built-in support for the following output formats:
|
||||
- [GdImage](https://www.php.net/manual/book.image)
|
||||
- [ImageMagick](https://www.php.net/manual/book.imagick)
|
||||
- Markup types: SVG, HTML, etc.
|
||||
- String types: JSON, plain text, etc.
|
||||
- Encapsulated Postscript (EPS)
|
||||
- PDF via [FPDF](https://github.com/setasign/fpdf)
|
||||
- Built-in support for the following output formats:
|
||||
- [GdImage](https://www.php.net/manual/book.image)
|
||||
- [ImageMagick](https://www.php.net/manual/book.imagick)
|
||||
- Markup types: SVG, HTML, etc.
|
||||
- String types: JSON, plain text, etc.
|
||||
- Encapsulated Postscript (EPS)
|
||||
- PDF via [FPDF](https://github.com/setasign/fpdf)
|
||||
- QR Code reader (via GD and ImageMagick)
|
||||
|
||||
## Documentation
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ use function chr, implode, is_string, mb_convert_encoding, mb_detect_encoding,
|
||||
mb_detect_order, mb_internal_encoding, mb_strlen, ord, sprintf, strlen;
|
||||
|
||||
/**
|
||||
* Hanzi (simplified Chinese) mode, GBT18284-2000: double-byte characters from the GB2312/GB18030 character set
|
||||
* Hanzi (simplified Chinese) mode, GBT18284-2000: 13-bit double-byte characters from the GB2312/GB18030 character set
|
||||
*
|
||||
* Please note that this is not part of the QR Code specification and may not be supported by all readers (ZXing-based ones do).
|
||||
*
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ use function chr, implode, is_string, mb_convert_encoding, mb_detect_encoding,
|
||||
mb_detect_order, mb_internal_encoding, mb_strlen, ord, sprintf, strlen;
|
||||
|
||||
/**
|
||||
* Kanji mode: double-byte characters from the Shift-JIS character set
|
||||
* Kanji mode: 13-bit double-byte characters from the Shift-JIS character set
|
||||
*
|
||||
* ISO/IEC 18004:2000 Section 8.3.5
|
||||
* ISO/IEC 18004:2000 Section 8.4.5
|
||||
|
||||
+2
-2
@@ -382,7 +382,7 @@ class QRCode{
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds a Kanji data segment (Japanese double-byte characters, Shift-JIS)
|
||||
* Adds a Kanji data segment (Japanese 13-bit double-byte characters, Shift-JIS)
|
||||
*
|
||||
* ISO/IEC 18004:2000 8.3.5 - Kanji Mode
|
||||
*/
|
||||
@@ -393,7 +393,7 @@ class QRCode{
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds a Hanzi data segment (simplified Chinese double-byte characters, GB2312/GB18030)
|
||||
* Adds a Hanzi data segment (simplified Chinese 13-bit double-byte characters, GB2312/GB18030)
|
||||
*
|
||||
* GBT18284-2000 Hanzi Mode
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user