Jsong is an encoder for the popular JSON-G format, written in Ruby. This implementation currently only supports PNG.
Add this line to your application's Gemfile:
Or install it yourself with:
$ gem install jsong
require 'jsong' # Get JSON-G encoded image text jsong_text = .('./sample_data/tomato.png', 'nice tomato') # Turn that back into an image .(jsong_text, './sample_data/tomato.png')
Bug reports and pull requests are welcome on GitHub at https://github.com/fwrs/jsong. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.