BMP2SSD1306 is an image converter for SSD1306 OLED.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
exe
lib
spec
.gitattributes
.gitignore
.rspec
.travis.yml
Gemfile
LICENSE
README.md
Rakefile
bmp2ssd1306.gemspec

README.md

BMP2SSD1306

BMP2SSD1306 is an image converter for SSD1306 OLED. It converts the BMP image into the file that has the memory layout of the SSD1306.

Requirements

Ruby 2.4 or higher.

Installation

Install it yourself as:

$ gem install bmp2ssd1306

Usage

Please specify the BMP file to convert from the command line.

$ bmp2ssd1306 t-rex1.bmp t-rex2.bmp
$ ls *.img
t-rex1.img t-rex2.img

Options

Usage: bmp2ssd1306 [options] <image>...
    -v, --verbose                    Show the files being worked on
    -o, --output DIR                 Write images converted to DIR
    -s, --suffix SUFFIX              Change the suffix from .img to SUFFIX

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/takai/bmp2ssd1306.