Skip to main content

Quick & Efficient Command Line picture resizer!

Project description

PySizer

Introduction

PySizer is a simple python command line program to resize images efficiently using Threads. This program uses click as a command line argument parser. It can also be used to pyinstaller to create a executable.

Quick Start

  • Install the project with pip
pip install git+https://github.com/kumaraditya303/PySizer.git
  • Project will now be available as a command line utility

  • Get Help

$ pysizer.exe --help
Usage: pysizer [OPTIONS]

  Main PySizer function which with ThreadPoolExecutor creates threads for
  resizing pictures.

  Checks for correct file extension, creates threads for each picture with
  thread limitation as given by threads argument.

  Creates progress bar with the click for resizing progress.

Options:
  --source PATH      Pictures source  [default: .]
  --dest PATH        Destination for resized pictures  [default: resized]
  --height INTEGER   Image height  [default: 1280]
  --width INTEGER    Image weight  [default: 1920]
  --threads INTEGER  number of threads to use  [default: 40]
  --help             Show this message and exit.

Project Made and Maintained By Kumar Aditya

Project details


Download files

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

Source Distribution

PySizer-0.1.0.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

PySizer-0.1.0-py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page