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 © 2019, Michael King and Contributors.

MIT License, see LICENSE