Skip to content

Latest commit

 

History

History
81 lines (50 loc) · 1.61 KB

README.md

File metadata and controls

81 lines (50 loc) · 1.61 KB

Silk

Simple image enhancer.

Samples

Installation

Install the DMD 2 compiler (using the MinGW setup option on Windows).

Build the executable with the following command line :

dmd -m64 silk.d color.d png.d

Command line

silk [options] input_file.png output_file.png

Options

--store
--smooth pass_count pixel_distance color_distance
--highlight brightness_offset contrast_factor
--posterize color_component_count clustering_mode

Examples

silk --smooth 1 9 128.0 input.png output.png

Smooth the image.

silk --highlight 0.25 2.0 input.png output.png

Highlight the image.

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

Limitations

Only supports RGB PNG files.

Version

1.0

Author

Eric Pelzer (ecstatic.coder@gmail.com).

License

This project is licensed under the GNU General Public License version 3.

See the LICENSE.md file for details.