Snowzei / Circe

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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


Languages

Language:Python 100.0%