Skip to content

About

Advanced grayscale image converter with batch processing, high bit-depth, and modern UI.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enhanced Precision Grayscale Converter — Desktop

A Python desktop application for grayscale image conversion, batch processing, preview, and export. The interface is built with CustomTkinter and supports drag-and-drop and clipboard image input.

Features

  • Seven selectable grayscale modes: Rec. 601, Rec. 709, Rec. 2100, Gamma-corrected Rec. 709, CIE Lab* L*, HSL Lightness, and HSV Value.
  • Single-image and batch processing.
  • 8-bit and 16-bit grayscale output.
  • PNG, TIFF, JPEG, WEBP, BMP, and optional HEIC/HEIF support.
  • Transparency handling for supported output formats.
  • Export controls for format, bit depth, DPI, and metadata options.
  • Before/after preview, drag-and-drop, and clipboard input.

Requirements

  • Python 3.8 or newer
  • Dependencies listed in requirements.txt
  • Windows is the currently documented/tested desktop environment.
  • HEIC/HEIF support requires pillow-heif and compatible codec support.

Run from source

git clone https://github.com/jayeshmepani/PrecisionGrayscaleConverter.git
cd PrecisionGrayscaleConverter
python -m venv .venv
.venv\Scripts\Activate.ps1
pip install -r requirements.txt
python main.py

Build a Windows executable

The repository includes PyInstaller build files under build_scripts/.

cd build_scripts
.\build.bat

The manual build path is also available:

pip install pyinstaller
pyinstaller --onefile --windowed --name PrecisionGrayscaleConverter --icon=icon.ico main.py

The generated executable is placed in PyInstaller's dist/ directory.

Notes

  • HEIC/HEIF support is optional.
  • 16-bit PNG with alpha is not supported by the documented desktop export path; alpha is discarded in that case.
  • ICC-profile discovery uses the Windows system color-profile directory when available.
  • Different grayscale modes implement different colour transforms and should not be described as numerically equivalent.

License

MIT. See LICENSE.

About

Advanced grayscale image converter with batch processing, high bit-depth, and modern UI.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages