Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.