PHP generation Two-dimensional code library phpqrcode_php tutorial

Source: Internet
Author: User

Description

PHP QR Code is the 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.

Features

    • Supports QR Code versions (size) 1-40
    • Numeric, alphanumeric, 8-bit and Kanji encoding.
    • Implemented purely in PHP, no external dependencies except 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 detailed examples
    • 100% Open Source, LGPL Licensed

Demo

-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 +}

Usage, set the generated two-dimensional code width height to 500px

< span="">(< span="">< span="">' image_width ',< span="">$ (' Image_height ', £ º:p ng (' http:// www.cnblogs.com/toby/) ');

http://www.bkjia.com/PHPjc/626603.html www.bkjia.com true http://www.bkjia.com/PHPjc/626603.html techarticle Description PHP QR Code is the Open source (LGPL) library for generating QR code, 2-dimensional barcode. Based on Libqrencode C Library, provides API for creating QR Code barcode Image ...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.