vcsi icon indicating copy to clipboard operation
vcsi copied to clipboard

Create new folder. If the -o, OUTPUT folder does not exist

Open orithecapper opened this issue 2 years ago • 1 comments

Traceback (most recent call last): File "/home/ori/.pyenv/versions/3.11.5/lib/python3.11/site-packages/PIL/Image.py", line 2390, in save format = EXTENSION[ext] ~~~~~~~~~^^^^^ KeyError: ''

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/home/ori/.pyenv/versions/3.11.5/bin/vcsi", line 8, in sys.exit(main()) ^^^^^^ File "/home/ori/.pyenv/versions/3.11.5/lib/python3.11/site-packages/vcsi/vcsi.py", line 1647, in main process_file_or_ignore(filename, args) File "/home/ori/.pyenv/versions/3.11.5/lib/python3.11/site-packages/vcsi/vcsi.py", line 1621, in process_file_or_ignore process_file(filepath, args) File "/home/ori/.pyenv/versions/3.11.5/lib/python3.11/site-packages/vcsi/vcsi.py", line 1780, in process_file is_save_successful = save_image(args, image, media_info, output_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ori/.pyenv/versions/3.11.5/lib/python3.11/site-packages/vcsi/vcsi.py", line 1140, in save_image image.save(output_path, optimize=True, quality=args.image_quality) File "/home/ori/.pyenv/versions/3.11.5/lib/python3.11/site-packages/PIL/Image.py", line 2393, in save raise ValueError(msg) from e ValueError: unknown file extension:

orithecapper avatar Sep 17 '23 06:09 orithecapper