bmp
Parse and build BMP files in crystal lang.
Installation
-
Add the dependency to your
shard.yml
:dependencies: bmp: github: globoplox/bmp
-
Run
shards install
Usage
require "bmp"
bmp = BMP.from_file "spec/sample_640×426.bmp"
bmp.color_at(639, 425).red.should eq 58
bmp.color_at(0, 0).green.should eq 130
Development
Contributors
- Globoplox - creator and maintainer