Creating a QR BarCode in Ruby

Aspose.BarCode - Creating a QR Barcode

To Create a QR Barcode using Aspose.Barcode Java for Ruby, simply invoke CreatingQRBarcode module. Here you can see example code.

Ruby Code

 data_dir = File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) + '/data/'

\# Instantiate barcode object

builder = Rjb::import('com.aspose.barcode.BarCodeBuilder').new



\# Hide code text



\# Save the image to your system and set its image format to Jpeg + "CreatingQRBarcode.jpg")

\# Display Status

puts "Created QR Barcode Successfully."

Download Running Code

Download Creating a QR Barcode (Aspose.BarCode) from any of the below mentioned social coding sites: