https://github.com/julgitt/ppm-image-formatter
Formatter features filtering colors, desaturating image, gamma and contrast manipulation
https://github.com/julgitt/ppm-image-formatter
c image image-editor ppm
Last synced: about 2 months ago
JSON representation
Formatter features filtering colors, desaturating image, gamma and contrast manipulation
- Host: GitHub
- URL: https://github.com/julgitt/ppm-image-formatter
- Owner: julgitt
- Created: 2023-07-22T20:18:38.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-28T19:26:21.000Z (almost 3 years ago)
- Last Synced: 2025-01-18T16:24:33.423Z (over 1 year ago)
- Topics: c, image, image-editor, ppm
- Language: C
- Homepage:
- Size: 5.89 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PPM IMAGE FORMATTER
A simple C program that allows you to modify images with a .ppm extension (only p3 for now).
Compile and run the program in the terminal with one of the options:
```python
# main -
-blackwhite
# 0.5 - no changes, < 0.5 - decrease gamma, > 0.5 - increase gamma
-gamma
# eg. r - only red color, rgb - all colors visible
-filter
# 0.5 - no changes, < 0.5 - decrease gamma, > 0.5 - increase contrast
-contrast
```
## Example usage
*Original Photo:*

*Black and white filter:*

*Filter with rb option:*

*Gamma with 0.8 value:*

*Contrast with 0.3 value:*
