This repository has been archived by the owner. It is now read-only.
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: gitlab: 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 20 hours ago
- March 22, 2021
License
MIT License
Links
Synced at
Mon, 08 Dec 2025 19:57:27 GMT
Languages