Generate and Recognize Barcode in Ruby web apps using Aspose.BarCode Cloud SDK for Ruby

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

Aspose.Barcode Cloud

Aspose.BarCode for Cloud logoAspose.Barcode Cloud is a REST API for barcode generation and recognition. It helps you generate barcode images from scratch in linear (1D), two dimensional (2D), and postal formats. Generate barcode images in a variety of image formats: JPEG, PNG, GIF, BMP, TIFF and many others. Recognize barcodes from different image types. Aspose.Barcode Cloud allows you to control all aspects of the image and barcode when generating barcode images. Specify image width, height, border style, output image format and more. You can also set barcode attributes like font style, font color, background color, barcode type and the barcode text location.

Aspose.Barcode Cloud

Installing

You can install Aspose Barcode Cloud SDK with RubyGem:

gem install aspose_barcode_cloud

Source files

This SDK is open source and available on GitHub and CodePlex.

Usage

APIs of this SDK can be called as follows:

require 'aspose_barcode_cloud'

class BarcodeUsage

  include AsposeBarcodeCloud
  include AsposeStorageCloud

  def initialize
    #Get App key and App SID from https://cloud.aspose.com
    AsposeApp.app_key_and_sid("APP_KEY", "APP_SID")
    @barcode_api = BarcodeApi.new  
  end

  def get_barcode_generate
    #Generate barcode.
    opts = {text: "Dairy Products", type: "qr", format: "png"}
    response = @barcode_api.get_barcode_generate(opts)
  end

end

Aspose.Barcode Cloud SDK Examples

Programmer’s Guide, a complete manual on programming with Aspose.Barcode Cloud APIs. It holds the wealth of features with sample codes and capabilities.

Unit Tests

To help you get started we also provided unit test coverage to Aspose.Barcode APIs.

Start a Free Trial Today

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


To keep up with our news, you can follow us on Twitter or follow our Facebook page.