bmp
Version, currently 1.2.01 version
- 1.2.0latestApr 8, 2024
github.com/Globoplox/bmp
Pure crystal BMP manipulation
0 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
bmp:
github: Globoplox/bmp
version: ~> 1.2.0Then run:
shards installshard.yml
- Crystal
1.11.2- License
- MIT
- Author
- Globoplox
Dependencies
This version declares no dependencies.
README
bmp
Parse and build BMP files in crystal lang. No dependency.
Allows to open simplest BMP files with Pluto.
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
With Pluto
Note that pluto is not listed as a dependency.
require "pluto"
require "bmp/pluto"
Pluto::ImageRGBA.from_bmp buffer
Contributors
- Globoplox - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
1.2.0- Tagged
- Apr 8, 2024
- Commit
005666da9226- Crystal
1.11.2- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/Globoplox/bmp
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 1