Skip to main content

downscale image to desired file size

Project description

downscale_image

A utility to downscale an image to the desired file size.

Relies on an install of ffmpeg to incrementally downscale the image file into a new file.

This modules provides the script downscale-image

> downscale-image --help
Usage: downscale-image [OPTIONS] FILE_OR_DIRECTORY

  Downscale file_or_directory to desired max-size.

Options:
  --max-size INTEGER RANGE   Max output size (in MB)  [default: 2; x>0]
  --add-to-right-click-menu  (Windows only) Register this program in right
                             click menu for supported file types.
  --help                     Show this message and exit.

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

downscale_image-1.4.4.tar.gz (5.7 kB view hashes)

Uploaded Source

Built Distribution

downscale_image-1.4.4-py3-none-any.whl (7.3 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