Menu

Tree [57a66e] master /
 History

HTTPS access


File Date Author Commit
 src 2015-03-19 Farooq Sheikh Farooq Sheikh [57a66e] Fixed GitHub Issue#1 - API is ignoring image fo...
 .gitattributes 2015-03-06 Farooq Sheikh Farooq Sheikh [128175] version 1.0
 .gitignore 2015-02-25 Farooq Sheikh Farooq Sheikh [97e4ee] Version 1.0
 LICENSE.txt 2015-02-25 Farooq Sheikh Farooq Sheikh [97e4ee] Version 1.0
 README.md 2015-03-05 Farooq Sheikh Farooq Sheikh [f2488f] version 1.0
 pom.xml 2015-03-18 Farooq Sheikh Farooq Sheikh [803cc4] Version 1.0

Read Me

QR Code Generator by Aspose.BarCode for Java v1.0


QR Code Generator by Aspose.BarCode for Java is a web application to generate various types of QR Codes using [Aspose.BarCode for Java].

[Aspose.BarCode for Java] is a robust and reliable barcode generation and recognition component, written in Java, it allows developers to quickly and easily add barcode generation and recognition functionality to their Java applications. It is available for the Java SE, Java EE and Java ME platforms.

This application highlights commonly used features of [Aspose.BarCode for Java] and demonstrates how to utilize them to generate various types of QR Codes including Text, Url, Email, Phone number, Contact (VCard), Event, Geolocation, Wifi and SMS.

aspose-showcase-qrcodegen_png

Highlights

  • Spring MVC 4.0 RESTFul API based web application for QR Codes generation using [Aspose.BarCode for Java] library
  • Mobile friendly [responsive and flat UI] using Bootstrap 3+ , RequireJS, Backbone.js on top of restful APIs
  • Generate various types of (scan-able) QR Codes using Aspose.BarCode for Java
  • URL
  • Text
  • Vcard
  • SMS
  • Phone
  • Event
  • Wifi
  • Geolocation
  • Encrypted Text
  • Supports various QR Code customizations including
  • Resizing
  • Selection of Level of Reed-Solomon error correction. From low to high: LevelL, LevelM, LevelQ, LevelH
  • Foreground and Background color selection
  • Save the generated QR Code in different image formats (Bmp, Gif, Jpeg, Png, Tiff)
  • Generate encrypted QR Code from Plain Text using password-based encryption (PBE)- PBEWITHMD5AND128BITAES-CBC-OPENSSL with OpenSSL compatibility.

Steps To Generate QR Code

  1. Select the QR Code Type
  2. Input Type Context
  3. Customize QR Code Settings
  4. Generate/Preview QR Code
  5. Save QR Code

aspose-showcase-qrcodegen-generation-steps

Export/Save Generated QR Code

You can export the generated QR Code into any of the following formats.
- PNG
- JPEG
- GIF
- TIFF
- BMP

Embed Anywhere

Application also supports embedding generated QR Code into any website of your choice using direct URL. Here are the steps.

#####Steps To Generate Embed QR Code
1. Select the QR Code Type
2. Input Type Context
3. Customize QR Code Settings
4. Generate/Preview QR Code
5. Copy QR Code Save URL
6. Change URL query string ‘download’ to false.
7. That’s it. URL is now ready to embed as an image.

<img width="100%" src="http://localhost:8080/qrcodegen/api/qrcode/generate?data=http://aspose.com&ecc=L&foreColor=%23000000&bgColor=%23FFFFFF&download=false&format=png">

API Documentation

Application also exports its Restful APIs documentation using [swagger specification]. You can also view the application APIs swagger based documentation by accessing following URL after running the project.

http://localhost:8080/qrcodegen/public/docs/

aspose-showcase-qrcodegen-swagger-api-docs_png

To get the code

Clone the repository:

$ git clone https://github.com/AsposeShowcase/QR_Code_Generator_by_Aspose.BarCode_for_Java.git

If this is your first time using Github, review http://help.github.com to learn the basics.

To run the application:

From the command line with Maven:

$ cd QR_Code_Generator_by_Aspose.BarCode_for_Java
$ mvn jetty:run  

From IDE such as NetBeans IDE, Eclipse, IDEA or others:
- [Download] or [clone] the project Github repository
- Import [QR_Code_Generator_by_Aspose.BarCode_for_Java] as a Maven Project
- Server to run, such as [Glassfish]/[Tomcat]

Note: Set the application context path to ‘qrcodegen’ (if required).

Access the deployed application at: http://localhost:8080/qrcodegen/

Aspose License

The project works without a license, with limitations. To remove limitations, you can acquire a free [temporary license] or [buy a full license].

To apply aspose lincese

Simply change license.file property value to the path to your aspose license file in the project configuration src/main/resources/config.properties.

license.file=C:\\aspose\\Aspose.Total.Java.lic

Technologies

The project uses a number of open source projects to work properly:
* [Spring Framework]
* [swagger-springmvc]
* [Swagger UI]
* [Twitter Bootstrap]
* [RequireJS]
* [Backbone.js]
* [jQuery]

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.