"compress": "curl -s https://raw.githubusercontent.com/basementstudio/scripts/main/compress.py | python3 -",
"rename": "curl -s https://raw.githubusercontent.com/basementstudio/scripts/main/rename.py | python3 -",
"resize": "curl -s https://raw.githubusercontent.com/basementstudio/scripts/main/resize.py | python3 -"Clone rename the files from a source directory to a destination directory setting a rename pattern. Usefull for large image sequences. Of course, it starts from zero.
python3 rename.py [-z zero_padding_width] src_path dest_path/Output_%n.png
This compress input images to webp. It outputs a summary at the end
python3 compress.py src_path dest_path --quality 80
This resizes input images to a target output. You can either use --width & --height or --scale.
python3 resize.py src_path dest_path --scale 0.5