List of usage examples for com.itextpdf.text.pdf.qrcode Mode BYTE
Mode BYTE
To view the source code for com.itextpdf.text.pdf.qrcode Mode BYTE.
Click Source Link
From source file:com.mui.certificate.core.HalalCertification.java
License:Apache License
private ByteMatrix generateQRCode(String data) throws Exception { QRCode qrcode = new QRCode(); qrcode.setMode(Mode.BYTE); Encoder.encode(data, ErrorCorrectionLevel.L, qrcode); ByteMatrix matrix = qrcode.getMatrix(); return matrix; }