Skip to content

SenseLogic/SILK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 ([email protected]).

License

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

See the LICENSE.md file for details.