Aspose.Barcode Cloud
Aspose.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.
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.- Aspose.Barcode Cloud SDK for Ruby – v1.0.0 (GitHub)
- Aspose.Barcode Cloud SDK for Ruby – v1.0.0 (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.- Create Barcode and Get Image as Stream
- Set Barcode Image Resolution
- Specify Barcode Image Save Format
- Generate Barcode with Appropriate Code Text Location
- Set Barcode Image Height, Width and Quality along with Auto Size Option
- Read Barcode from External Image URL
- Read Barcode from Specific Region of Image
- Recognize Barcode with Checksum Option from Storage