Aspose.Barcode Java For Ruby Examples – Quickly deal with Barcode Generation and Recognition

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.

Aspose.BarCode for Java supports the Java SE, Java EE and Java ME platforms.


We are pleased to announce “Aspose.Barcode Java for Ruby”, a new gem for Ruby developers. Project is aimed to provide useful examples for Ruby developers who want to utilize “Aspose.BarCode for Java” in their Ruby applications using Rjb – Ruby Java Bridge gem to deal with Barcode images.

Download, Installation and Usage

Please check the links below to find instructions on downloading, installing and using Aspose.Barcode Java for Ruby gem.


You can downloaded latest version from:

Quick Start Tutorial

Include the required files for working with the “recognizebarcode” example.

require File.dirname(File.dirname(File.dirname(__FILE__))) + '/lib/asposebarcodejava'
include Asposebarcodejava
include Asposebarcodejava::RecognizeBarcode


Aspose.Barcode Java for Ruby Examples

This initial version of the gem provides the following examples:

Working With Barcode

  • Specify Symbologies for Barcodes
  • Set Code Text for Barcode
  • Control the Appearance of Code Text
  • Manage the Barcode Caption
  • Set Height of the Bars in the Barcode Image
  • Manage X-Dimension and Y-Dimension
  • Use Checksum and Supplement Data for Barcodes
  • Wide Narrow Ratio
  • Generate AustraliaPost Barcode with Different Format Control Code Options
  • Set Start and Stop Symbols of Codabar Barcode
  • How to Generate a Patch Code

Working With Barcode Image

  • Working with Image Borders
  • Colorize any Part of the Barcode Image
  • Rotate Barcode Image
  • Control Barcode Image Quality
  • Set Barcode Image Margins
  • Generate Barcode with Empty Bars
  • Customize Barcode Image Resolution
  • Set Size Unit for the Barcode Image
  • Generate Barcode by Specifying Custom Image Size
  • Save Barcode Image to Streams
  • Printing a BarCode Image

Working With 2D Barcodes

  • Creating Two Dimensional (2D) Barcodes
  • Creating a Pdf417 Barcode
  • Creating a DataMatrix Barcode
  • Creating a QR Barcode
  • Creating an Aztec Barcode
  • Hiding Code Text that is too Long to Display
  • Set Aspect Ratio of Barcodes
  • Generate Multiple MacroPdf417 Barcodes for Large or Multiple Code Text Values

Working With Barcode Recognition

  • Introducing Barcode Recognition
  • Recognizing Specific Barcode Symbology
  • Recognizing Multiple Symbologies in Single Image
  • Barcode Orientation
  • Better and Faster Image Processing for Barcode Recognition
  • Getting Barcode Region Information from the Image
  • Marking Barcode Regions in an Image
  • Read Barcode from Specific Region of Image
  • Get BarCode Recognition Quality in Percent
  • Get all Possible 1D Barcodes from an Image
  • Switch Barcode Recognition Modes According to the Requirement

Aspose.Barcode Java for Ruby Documentation

Aspose.Barcode Java for Ruby Documentation is available to guide developers to get familiar with the specific resources and operations within the Aspose.Barcode Java for Ruby.

Start a Free Trial Today

Start a free trial today – all you need is to sign up with Aspose. Once you have signed up, you are ready to try powerful file processing features offered by Aspose file format APIs.

Customer Feedback

Your feedback is very important to us. Please feel free to provide feedback and raise feature requirements. We are keen to implement customer driven features since we are a 100% customer driven company.