Skip to main content

Group Image Compressor (GIC)

Project description

GIC

An image compressor that compresses all images in the working directory.

Github
PyPI

To execute:

In Linux|Unix|macOS:

GUI:

Run gic in a shell.

CLI:

Run gic-cli in a shell.

In Windows:

Method 1:

In a cmd window, change working directory to your desired folder and run gic(GUI) or gic-cli(CLI).

Method 2:

Copy the file gic.exe(GUI) or gic-cli.exe(CLI) from pythoninstallation\Scripts\ to your desired folder and double-click it.

To use in your python code:

A code that the user sets the compression level.

GUI
import gic.main
#change the working directory to whatever you want
gic.main.run()
CLI
import gic.cli
#change the working directory to whatever you want
gic.cli.run()

To be quiet:

A code that you set the compression level. Set quality to 1|2|3|4 or a percentage. Lower percentage is lower size and lower quality. 1 Means best, 4 means worst.

import gic.compress
gic.compress.compress(quality)

You can also pass another arguement to compress images in that directory.

import gic.compress
gic.compress.compress(quality, dir)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for gic, version 4.0.0
Filename, size File type Python version Upload date Hashes
Filename, size gic-4.0.0-py3-none-any.whl (12.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size gic-4.0.0.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page