Skip to content

Numerous converters and image tools combined into one simple CLI. Easily convert and refine large batches of images directly in your terminal. Fast, simple and easy.

Notifications You must be signed in to change notification settings

hasderhi/universal-image-converter-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Universal Image Tool CLI

Description

This tool is no longer supported, as it is replaced entirely by Universal Converter

Numerous converters and image tools combined into one simple CLI. Easily convert and refine large batches of images directly in your terminal. Fast, simple and easy.

About

As web developer, it always annoyed me how often I had to convert, resize or otherwise manipulate images. Especially .HEIC files felt like a real pain. Online converters exist, but often limit conversion to only a few files before forcing users to buy their "premium" subscriptions, aside from privacy concerns (uploading your files to some random webserver).

Because of this, I've developed this small tool. It combines multiple existing image manipulation libraries (mainly PIL) into one simple CLI. Simply install the requirements and you are ready to go!

Features

  • Conversion of .HEIC, .JPG, .PNG, .PNG, .ICO, .SVG
  • Resizing files to paper formats
  • Image compression (Lossless / Lossy)
  • PDF conversion
  • Duplicate finder (Using perceptual hashing)
  • Grayscale/Sepia conversion
  • EXIF (Metadata) viewer / stripper
  • Folder conversion
  • Optional deletion of original files after conversion
  • Progress bars

Installation

  1. Make sure the most recent version of Python is installed on the target system.
  2. Download or clone the repository.
  3. Install the requirements: pip install -r requirements.txt.

The next steps are optional and only needed if you want to convert .SVG files to .PNG

  1. Install inkscape on the target system.
  2. For Windows: Add the inkscape installation to PATH. If you don't know how to do that, it is explained here

Important: .SVG to .PNG conversion DOES NOT WORK in the VSCODE console! Please use the default Python interpreter or configure vscode to inherit PATH on start!

Usage

  1. Launch main.py
  2. Enter the number of the tool you want to use
  3. Input the required data (Differs from tool to tool)
  4. After the process has finished, the converted files are in the same directory as the original files.

About

Numerous converters and image tools combined into one simple CLI. Easily convert and refine large batches of images directly in your terminal. Fast, simple and easy.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages