Simple TIFF compressor that converts TIFF files to black & white and compresses TIFF files using Group 4 (CCITT T.6) compression.
- pillow - a python imaging library
- tkinter - a python library for building cross-platform GUI applications
- customtkinter - a modern and customizable python UI-library based on tkinter
- pyinstaller - a tool that packages python applications and their dependencies into a single executable file
-
Install the libraries using pip:
pip install pillow tkinter customtkinter pyinstaller
-
Build the executable:
pyinstaller --noconfirm --onedir --windowed --add-data="C:\Users\<username>\path\to\site-packages\customtkinter":. .\tiffbwcompressor.py
- Use
pip show customtkinter
to find the path to customtkinter's directory.
- The executable will be located in
.\dist\tiffbwcompressor\