Skip to content

Releases: urvil38/swatch-rs

v1.0.0

30 Nov 07:07
Compare
Choose a tag to compare
  • Update "debug_type" and "output" flag behavior and refactor code
  • Fix typos :)

v0.0.2

13 May 05:21
Compare
Choose a tag to compare
  • add statically linked binary for linux, armv7 and amv64 architecture.

  • add flag called -m or --most to get most dominant color from the image.

      -m, --most       Get most dominant color of an image
    

v0.0.1

04 Feb 06:27
72e754d
Compare
Choose a tag to compare

This release will include CLI tool which has following flags:

  • -d, --debug-type Debug type print quantized pixels to given format. value can be (html, json or
    file). "file" debug type will create a "swatch.html" and write HTML data into it
  • -i, --image Path to an image
  • -c, --colors Number of colors needed in power of 2, ex: for 16 colors pass 4. (i.e. 2^4 = 16)
    [default: 4]
  • -o, --output-image [default: quantize-image.png]