Posts

Showing posts with the label Generate Qr Code

Generate Qr Code in Spring boot + Thymeleaf application with ZXing - Example

Image
Hello everyone, today we will learn how to generate the  Qr Code in Spring boot + Thymeleaf  sample application with ZXing . Technology Used JDK 17 Spring Boot 2.7.0 Thymeleaf ZXing library 3.5.0 Maven Final Project Directory Maven[Pom.xml] ZXing Core:  Core barcode encoding/decoding library ZXing Java SE extensions:  Java SE-specific extensions to the core ZXing library <? xml version ="1.0" encoding ="UTF-8" ?> < project xmlns ="http://maven.apache.org/POM/4.0.0" xmlns:xsi ="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation ="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" > < modelVersion >4.0.0</ modelVersion > < parent > < groupId >org.springframework.boot</ groupId > < artifactId >spring-boot-starter-parent</ artifactId > < version >2.7.0</ version > < relativePath /> </ parent &

Spring boot- Generate QR Code and Integrate it in PDF File with ZXing, and iText

Image
Hello everyone, today we will learn how to g enerate a QR Code and integrate it in a PDF file with ZXing, and iText in the spring boot application. Technology Used JDK 17 Spring Boot 2.5.5 ZXing library 3.5.0 iText PDF 5.5.13.3 Maven Final Project Directory Maven[Pom.xml] ZXing Core:  Core barcode encoding/decoding library. ZXing Java SE extensions:  Java SE-specific extensions to the core ZXing library. iText  is a library for creating and manipulating PDF files in Java and .NET. <? xml version ="1.0" encoding ="UTF-8" ?> < project xmlns ="http://maven.apache.org/POM/4.0.0" xmlns: xsi ="http://www.w3.org/2001/XMLSchema-instance" xsi :schemaLocation ="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" > < modelVersion >4.0.0</ modelVersion > < groupId >com.knf.dev</ groupId > < artifactId >springboot-zxing-itext-qrcode-pdf</ arti