README.md in img2zpl-1.0.0 vs README.md in img2zpl-1.0.1
- old
+ new
@@ -1,8 +1,8 @@
# img2zpl
-[![gem](https://img.shields.io/gem/v/img2zpl)](https://rubygems.org/gems/img2zpl)
+[![gem](https://img.shields.io/gem/v/img2zpl?color=orange)](https://rubygems.org/gems/img2zpl)
[![downloads](https://img.shields.io/gem/dt/img2zpl?color=brightgreen)](https://rubygems.org/gems/img2zpl)
Ruby library to convert images to usable & printable ZPL code
### Installation
@@ -31,13 +31,14 @@
The `Img2Zpl::Image` class inherits from the `MiniMagick::Image` class provied by the [minimagick](https://github.com/minimagick/minimagick) gem. So you have the same control when it comes to modifying the image before converting to ZPL.
**Example**:
```ruby
-img = Img2Zpl::Image.open('foo.jpg')
+img = Img2Zpl::Image.open('foo.png')
-img.resize '100x100'
+img.flatten
img.trim
+img.resize '100x100'
zpl = img.to_zpl
```
#### Options