- This tool performs pixelsorting using the Pixelsort library.
- Running the code randomly generates 'N' number of images.
- Everything, from count and choice of paramters to the values they hold, is randomly generated.
-
Install the Pixelsort library using :
pip install pixelsort
-
The few paramters that are to be passed through the terminal are :
- Image Name with extension :
-i image.ext
[png or jpg] - Number of outputs to be generated :
-n 10
[any number]
- Image Name with extension :
-
To try it out, place your image in the "images" folder.
-
Run the script from the terminal :
python autosort.py -i image.jpg -n 5
-
The parameters and their values for each instance on each run are printed out in your terminal.
-
The results can be found in the "generated" folder which gets empty at each fresh run.
-
Examples :
python autosort.py -i image.jpg -n 6
python autosort.py -i image.png -n 10