FoxViewPPM
Lightweight image viewer written in C and SDL3
Install / Use
/learn @digitsensitive/FoxViewPPMREADME
FoxViewPPM
FoxViewPPM is a lightweight image viewer written in C and SDL3, specifically
designed for PPM, PBM, and PGM file formats. This project was created for
educational purposes.
Features
- Cross-Platform Compatibility: FoxViewPPM is designed to work seamlessly across various platforms, including Windows, macOS, and Linux.
- Support for PPM, PBM, and PGM Formats: The viewer is capable of parsing and displaying images in the widely used PPM (Portable Pixel Map), PBM (Portable Bitmap), and PGM (Portable Graymap) formats.
- Command Line Support: Run FoxViewPPM from the command line, making it convenient for integration into scripts or other workflows.
- Open Source: FoxViewPPM is an open-source project, encouraging collaboration and contributions from the community. Feel free to fork the repository, report issues, or submit pull requests.
How to build
Checks out submodules at the specific commits pinned by the repo:
git submodule update --init --recursive
Update submodules to the latest commits on their remote branches:
git submodule update --recursive --remote
Build Release:
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build . --config Release
References
- ASCII Chart
- PBM, PGM, and PPM files The simple image file formats
- PPM Format Specification
- PPM / PGM / PBM image files by Paul Bourke
License
This project is licensed under the GPL-3.0 license.
