项目作者: senselogic

项目描述 :
Simple image enhancer.
高级语言: D
项目地址: git://github.com/senselogic/SILK.git
创建时间: 2017-07-09T15:09:55Z
项目社区:https://github.com/senselogic/SILK

开源协议:Other

下载


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 :

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

Command line

  1. silk [options] input_file.png output_file.png

Options

  1. --store
  2. --smooth pass_count pixel_distance color_distance
  3. --highlight brightness_offset contrast_factor
  4. --posterize color_component_count clustering_mode

Examples

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

Smooth the image.

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

Highlight the image.

  1. 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.