/Circe

Converts all of one type of image file to either png or jpeg

Primary LanguagePython

Circe

Windows Python Pillow

A command-line tool to convert image files to either JPEG or PNG format.

Installation

  1. Clone the repository:
git clone https://github.com/Snowzei/Circe.git
cd circe
  1. Install the required dependencies using pip:
pip install -r requirements.txt

Usage

Run the script to convert image files in a specified directory to either JPEG or PNG format.

python circe.py /path/to/images -jpeg -o /output/directory

Command-Line Arguments

  • directory: The directory containing image files to be converted.
  • -j, --jpeg: If provided, convert images to JPEG format; otherwise, convert to PNG (default).
  • -o, --output: Specify the output directory for converted images. If not provided, the converted images will be saved in the same directory as the original images.