- Set up the environment:
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
- Run the script:
python -m src [absolute path to file or directory] [original file type] [desired file type]
Example:
python -m src ~/desktop/my-image.heic heic jpeg