Releases: kr1s7ian/rust-mosaic-maker
Releases · kr1s7ian/rust-mosaic-maker
0.3
- 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
- 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
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