Java Code: int width = 100; int height = 100; String filetype = "png"; com.google.zxing.qrcode.QRCodeWriter writer = new com.google.zxing.qrcode.QRCodeWriter(); com.google.zxing.common.BitMatrix matrix = null; try { matrix = writer.encode(text, com.google.zxing.BarcodeFormat.QR_CODE, width, height); } catch (com.google.zxing.WriterException e) { throw new PRRuntimeException(e); } java.awt.image.BufferedImage image = new java.awt.image.BufferedImage(width, height, java.awt.image.BufferedImage.TYPE_INT_RGB); image.createGraphics(); java.awt.Graphics2D graphics = (java.awt.Graphics2D) image.getGraphics(); graphics.setColor(java.awt.Color.WHITE); graphics.fillRect(0, 0, width, height); graphics.setColor(java.awt.Color.BLACK); for (int x = 0; x < width; x++) { for (int y = 0; y < height; y++) { if (matrix.get(x, y) == true) { graphics.fillRect(x, y, 1, 1); } } } try { java.io.ByteArrayOutputStream bos=new java.io.ByteArrayOutputStream(); javax.imageio.ImageIO.write(image, ...
Pega Portal - The complete Pega Developer Course on Udemy - Pega Training Online - Online Pega Training - PegaPortal. Pega, PRPC, BPM, PegaPortal, Pega Portal ,BPM Tool, pega training by PegaPortal, Pega training, Pega Tutorial for beginners, Pega Training videos, Pega Training for beginners, Pega Tutorial videos, Pega 8.6 tutorial, Learn Pega from scratch, Learn Pega step by step, Pega 8.6,