#png #image #chunk #info #compression #decoder #save

app whats-a-png

A simple PNG decoder written in Rust

2 releases

0.1.1 Jan 3, 2023
0.1.0 Jan 3, 2023

#541 in Images

23 downloads per month

MIT license

230KB
267 lines

whats-a-png

Hank Hill Meme

This is an simple implementation of the png specification done for learning purposes. I will consider regularly maintaining this if anyone takes interest. Just message me about and I'm sure we can work something out.

github: https://github.com/JPTomorrow discord: Kallo#9370

Features

  • implimented using only the standard library
  • loading and saving of png images
  • extracts png info from header and structures it
  • allows for direct access of chunk bytes (does not compress or decompress them yet, you will have to implement that yourself for now)

TODO Features

  • INFLATE / DEFLATE Compression
  • allow various image manipulations

No runtime deps