Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codylico/png-parts
parts of a Portable Network Graphics implementation
https://github.com/codylico/png-parts
c89 cmake modular png portable-network-graphics zlib
Last synced: about 1 month ago
JSON representation
parts of a Portable Network Graphics implementation
- Host: GitHub
- URL: https://github.com/codylico/png-parts
- Owner: codylico
- License: mit
- Created: 2018-04-13T23:27:25.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-26T15:52:11.000Z (about 2 years ago)
- Last Synced: 2023-03-06T11:16:03.263Z (almost 2 years ago)
- Topics: c89, cmake, modular, png, portable-network-graphics, zlib
- Language: C
- Size: 233 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# PNG Parts: parts of a Portable Network Graphics implementation
The PNG Parts repository aims to provide a working implementation of
the Portable Network Graphics image format as specified in RFC 2083.
The parts of the implementation, to be provided in both C and C++,
should be more or less usable independently of each other.## Goals
The repository currently contains source code in C for the following:
* DEFLATE compression implementation (both read and write)
according to [RFC 1951](https://www.ietf.org/rfc/rfc1951.txt)* ZLIB compressed data format implementation (both read and write)
according to [RFC 1950](https://www.ietf.org/rfc/rfc1950.txt)* PNG image format basic implementation (both read and write)
according to [RFC 2083](https://www.ietf.org/rfc/rfc2083.txt)Future goals of this project include:
* A C++ port of this library
* support for the tRNS chunk for transparency (both read and write)
* support for additional user-defined chunks (both read and write)
## Build and Installation
This project uses the CMake build system, for easier cross-platform
development. CMake can be found at the following URL:[https://cmake.org/download/](https://cmake.org/download/)
To use CMake with this project, first make a diretory to hold the build results.
Then run CMake in the directory with a path to the source code.
On UNIX, the commands would look like the following:
```
mkdir build
cd build
cmake ../png-parts/src
```Running CMake should create a build project, which then can be processed using other
tools. Usually, the tool would be Makefile or a IDE project.
For Makefiles, use the following command to build the project:
```
make
```
For IDE projects, the IDE must be installed and ready to use. Open the project
within the IDE.## License
The source code within this project is provided under the MIT license.