时间:2021-07-01 10:21:17 帮助过:58人阅读
PHP QR Code is open source (LGPL) library for generating QR Code, 2-dimensional barcode. Based on libqrencode C library, provides API for creating QR Code barcode images (PNG, JPEG thanks to GD2). Implemented purely in PHP.
-86,10 +86,15- =ImageCreate( * , * - ImageCopyResized(, , 0, 0, 0, 0, * , * , , +
+ = (('IMAGE_WIDTH') ? IMAGE_WIDTH : * + = (('IMAGE_HEIGHT') ? IMAGE_HEIGHT : * +
+ =ImageCreate(, +
+ ImageCopyResized(, , 0, 0, 0, 0, , , , - of
+ }
用法,设置生成的二维码宽高为 500px ('IMAGE_WIDTH', 500('IMAGE_HEIGHT', 500::png('http://www.cnblogs.com/toby/)');
http://www.bkjia.com/PHPjc/626603.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/626603.htmlTechArticleDescription PHP QR Code is open source (LGPL) library for generating QR Code, 2-dimensional barcode. Based on libqrencode C library, provides API for creating QR Code barcode image...