Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/senselogic/silk
Simple image enhancer.
https://github.com/senselogic/silk
blur bmp brightness contrast enhancer image posterize simple smart
Last synced: 4 days ago
JSON representation
Simple image enhancer.
- Host: GitHub
- URL: https://github.com/senselogic/silk
- Owner: senselogic
- License: gpl-3.0
- Created: 2017-07-09T15:09:55.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-06-11T21:04:28.000Z (5 months ago)
- Last Synced: 2024-06-12T05:28:59.928Z (5 months ago)
- Topics: blur, bmp, brightness, contrast, enhancer, image, posterize, simple, smart
- Language: D
- Size: 13 MB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
![](https://github.com/senselogic/SILK/blob/master/LOGO/silk.png)
# Silk
Simple image enhancer.
## Samples
![](https://github.com/senselogic/SILK/blob/master/SCREENSHOT/mountain.png)
![](https://github.com/senselogic/SILK/blob/master/SCREENSHOT/mountain_smooth.png)![](https://github.com/senselogic/SILK/blob/master/SCREENSHOT/tux.png)
![](https://github.com/senselogic/SILK/blob/master/SCREENSHOT/tux_smooth.png)
![](https://github.com/senselogic/SILK/blob/master/SCREENSHOT/tux_smooth_highlight_posterize.png)## Installation
Install the [DMD 2 compiler](https://dlang.org/download.html) (using the MinGW setup option on Windows).
Build the executable with the following command line :
```bash
dmd -m64 silk.d color.d png.d
```## Command line
```bash
silk [options] input_file.png output_file.png
```### Options
```bash
--store
--smooth pass_count pixel_distance color_distance
--highlight brightness_offset contrast_factor
--posterize color_component_count clustering_mode
```### Examples
```bash
silk --smooth 1 9 128.0 input.png output.png
```Smooth the image.
```bash
silk --highlight 0.25 2.0 input.png output.png
```Highlight the image.
```bash
silk --smooth 1 9 128.0 --store --highlight 0.25 2.0 --posterize 3 1 input.png output.png
```Smooth, highlight and posterize the image.
## Dependencies
* [ARSD PNG library](https://github.com/adamdruppe/arsd)
## Limitations
Only supports RGB PNG files.
## Version
1.0
## Author
Eric Pelzer ([email protected]).
## License
This project is licensed under the GNU General Public License version 3.
See the [LICENSE.md](LICENSE.md) file for details.