img2zpl

Ruby library to convert images to usable & printable ZPL code


Keywords
conversion, gem, image, ruby, zpl
License
MIT
Install
gem install img2zpl -v 0.1.2

Documentation

img2zpl

gem downloads

Ruby library to convert images to usable & printable ZPL code

Installation

Add the gem to your Gemfile:

gem 'img2zpl'

And then run bundle install

Or install it yourself with:

gem install img2zpl

Usage

require 'img2zpl'

img = Img2Zpl::Image.open('foo.jpg')
zpl = img.to_zpl #=> "^FO0,0^GFA, ... ^FS"

Contributing

See CONTRIBUTING.md

Changelog

Copyright

Copyright © 2019, Michael King and Contributors.

MIT License, see LICENSE