Description
Php qr Code is open source (LGPL) library for generating QR Code, 2-dimen1_barcode. based on libqrencode C library, provides API for creating QR Code barcode images (PNG, JPEG thanks to GD2 ). implemented purely in PHP.
Features
- Supports QR Code versions (size) 1-40
- Numeric, Alphanumeric, 8-bit and Kanji encoding.
- Implemented purely in PHP, no external dependencies need t GD2
- Exports to PNG, JPEG images, also exports as bit-table
- TCPDF 2-D barcode API integration
- Easy to configure
- Data cache for calculation speed-up
- Debug data dump, error logging, time benchmarking
- Provided merge tool helps deploy library as a one file
- New! API documentation
- New! Over 30 detailed examples
- 100% Open Source, LGPL Licensed
Demo
-+ 86, 15-= ImageCreate (*, *-ImageCopyResized (, 0, 0, 0, 0 ,*,*,, ++ = ('image _ width ')? IMAGE_WIDTH: * + = ('image _ height ')? IMAGE_HEIGHT: * ++ = ImageCreate (, ++ ImageCopyResized (, 0, 0, 0, 0,-of +}
Usage, set the width and height of the generated QR code to 500px
('IMAGE_WIDTH', 500('IMAGE_HEIGHT', 500::png('http://www.cnblogs.com/toby/)');