Python package for image handling, mainly conversion between different image types.
The only dependency in this project is pilow-heif
, which can be obtained by doing
pip install pillow-heif
In order to run as a batch script from anywhere in the computer (accesing from the terminal), refer to my other repository PDF-Editor, which defines the following steps:
-
Clone (or manually paste) this whole repository somewhere in your PC
-
Add this directory (as in where you pasted this repository) to the PATH environmental variable
-
Create a
.bat
file with the following contents
@echo off
set PYTHONPATH=C:\kev-scripts
:GETOPTS
cmd /c python -m image_manager.image_converter.image_converter %*
exit /B
and replace the value of PYTHONPATH
to the project directory (aka the same directory added to the PATH).
- Keep in mind that the name of the batch file is the command that you wull need to execute in the terminal, for example in the case you name it
topng.bat
, you'd need to run
topng my_image
- Run
topng -h
in order to learn ho to use this command
- Add a repository for Image Manager and script functionality
- Explain what the batch file is doing (?)