crystal-png-chunks
Crystal PNG chunks
A Crystal shard offering low-level access to PNG data.
Installation
-
Add the dependency to your
shard.yml:dependencies: png-chunks: codeberg: EvanHahn/crystal-png-chunks -
Run
shards install.
Usage
require "png-chunks"
file = File.new("12x34.png")
reader = PNGChunk::Reader.new(file)
puts reader.first.type # => "IHDR"
puts reader.first.data # => Bytes[0x00, 0x00, 0x00, 0x0c, ...]
Repository
crystal-png-chunks
Owner
Statistic
- 0
- 0
- 0
- 0
- 0
- about 1 month ago
- December 8, 2025
License
Links
Synced at
Fri, 30 Jan 2026 12:58:48 GMT
Languages