Class Barby::PngOutputter
In: lib/barby/outputter/png_outputter.rb
Parent: Outputter

Renders the barcode to a PNG image using the "png" gem (gem install png)

Registers the to_png and to_canvas methods

Methods

full_height   full_width   height   length   margin   to_canvas   to_png   width   xdim   ydim  

Attributes

height  [RW] 
margin  [RW] 
width  [RW] 
xdim  [RW] 
ydim  [RW] 

Public Instance methods

Creates a PNG::Canvas object and renders the barcode on it

Renders the barcode to a PNG image

[Validate]