Skip to content

Releases: kr1s7ian/rust-mosaic-maker

0.3

27 Mar 18:53
Compare
Choose a tag to compare
  • Added support for converting gifs
  • Fixed bug that prevented using formats other than .png for mosaic pieces
  • Slightly improved error messages
  • Added error message informing users that they are trying to convert a folder without -r option
  • Changed default kmeans iterations to 10 instead of 1000, output quality is unchanged
Usage: mosaic-maker [OPTIONS] <INPUT_PATH> <OUTPUT_PATH> <PIECES_FOLDER> <PIECE_SIZE>

Arguments:
  <INPUT_PATH>
  <OUTPUT_PATH>
  <PIECES_FOLDER>
  <PIECE_SIZE>

Options:
  -r, --recursive

  -d, --dither

  -t, --use_transparent_pieces

  -a, --algorithm <ALGORITHM>
          [default: kmeans] [possible values: kmeans, histogram]
  -i, --kmeans_iterations <KMEANS_ITERATIONS>
          [default: 10]
  -c, --kmeans_clusters <KMEANS_CLUSTERS>
          [default: 1]
  -s, --kmeans_min_score <KMEANS_MIN_SCORE>
          [default: 0]
  -h, --help
          Print help

v0.2

24 Mar 23:22
f8950e3
Compare
Choose a tag to compare
  • Added cli option for changing predominant color detection algorithm (histogram or kmeans)
  • Added cli option for kmeans clusters
  • Added cli option for kmeans iterations
  • Added cli option for kmeans minimum score
  • Optimized default kmeans options for better output quality
  • Renamed cli option from : --transparent_pieces to: --use_transparent_pieces
  • Improved user experience with better error messages.
Usage: mosaic-maker [OPTIONS] <INPUT_PATH> <OUTPUT_PATH> <PIECES_FOLDER> <PIECE_SIZE>

Arguments:
  <INPUT_PATH>     
  <OUTPUT_PATH>    
  <PIECES_FOLDER>  
  <PIECE_SIZE>     

Options:
  -r, --recursive
          
  -d, --dither
          
  -t, --use_transparent_pieces
          
  -a, --algorithm <ALGORITHM>
          [default: kmeans] [possible values: kmeans, histogram]
  -i, --kmeans_iterations <KMEANS_ITERATIONS>
          [default: 1000]
  -c, --kmeans_clusters <KMEANS_CLUSTERS>
          [default: 1]
  -s, --kmeans_min_score <KMEANS_MIN_SCORE>
          [default: 0]
  -h, --help
          Print help

First release

23 Mar 19:01
623311f
Compare
Choose a tag to compare
Usage: mosaic-maker [OPTIONS] <INPUT_PATH> <OUTPUT_PATH> <PIECES_FOLDER> <PIECE_SIZE>
Arguments:
  <INPUT_PATH>
  <OUTPUT_PATH>
  <PIECES_FOLDER>
  <PIECE_SIZE>

Options:
  -d, --dither
  -t, --transparent_pieces
  -h, --help                Print help