Skip to content

v0.2

Compare
Choose a tag to compare
@kr1s7ian kr1s7ian released this 24 Mar 23:22
· 14 commits to remake since this release
f8950e3
  • 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