Skip to content
/ png Public

A PNG library created for learning purposes.

License

Notifications You must be signed in to change notification settings

Marco4413/png

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PNG

This is a C++20 library which allows reading png images from a binary stream.

I decided to create this because I wanted to learn how png images are stored. This project was made for educational purposes and may be discontinued at any time.

Building

This project uses premake5 to create build files. All build files created by premake are put into the build directory. Solutions and Make files are not pushed to this repo, you should run premake5 when you download this project.

NOTE: Remember to have a compiler which fully supports C++20!

Build output can be found inside either build/Debug or build/Release depending on the configuration. If building png (the static library's project) the library file will be found in the same directories, and include files can be found inside the include folder.

If you want to see an example of linking with png check out the png-dev project inside premake5.lua.

TODO

  1. Splitting the project into multiple files
  2. CRC implementation
  3. Writing images to streams
  4. PLTE Chunk support
  5. Custom ZLib implementation (maybe)

Resources

About

A PNG library created for learning purposes.

Resources

License

Stars

Watchers

Forks