Java generates barcode QR code

Source: Internet
Author: User

I. Overview

Zxing can be recommended for third-party libraries such as barcode4j or zxing.

BARCODE4J Profile Link: http://barcode4j.sourceforge.net/

Zxing Profile Link: https://github.com/zxing/zxing

Second, barcode4j

Key code:

New Datamatrixbean (); Final int dpi = += "Image/png"newnewfalse, 0

The supported barcode formats are:

    • Interleaved 2 of 5
    • ITF-14
    • Code 39
    • Code 128
    • EAN-128, gs1-128 (based on Code 128)
    • Codabar
    • Upc-a and UPC-E (with Supplementals)
    • EAN-13 and EAN-8 (with Supplementals)
    • POSTNET
    • Royal Mail Customer Barcode (four state)
    • USPS Intelligent Mail (4-state Customer Barcode)

The supported two-dimensional code formats are:

    • PDF 417 (ISO/IEC 15438:2001 (E))
    • Datamatrix (ISO/IEC 16022:2000 (E))
    • QR Code (ISO/IEC 18004:2006 (E)) (requires ZXing, available from CVS HEAD only)

The output file types are:

    • Svg
    • EPS (encapsulated PostScript)
    • Bitmap images (such as PNG or JPEG)
    • Java2d (AWT)
    • Text (for testing and debugging only)

Java generates barcode QR code

Related Article

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.