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 details)

Uploaded Source

Built Distribution

downscale_image-1.4.4-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file downscale_image-1.4.4.tar.gz.

File metadata

  • Download URL: downscale_image-1.4.4.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.5 CPython/3.8.2 Windows/10

File hashes

Hashes for downscale_image-1.4.4.tar.gz
Algorithm Hash digest
SHA256 557cbddb234e1786dd6f7cc3e8b53a6e354bf6e9dbbf2c2cc05440099daf5671
MD5 d457f23a83d16ac49e36f21fceeccfc3
BLAKE2b-256 859b5218b3decba82f30b0af24d01c443490f80a0189c8b09b52d7ca551e764d

See more details on using hashes here.

File details

Details for the file downscale_image-1.4.4-py3-none-any.whl.

File metadata

File hashes

Hashes for downscale_image-1.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ac53be4c5af89ebebfa57fe72728f247ab5ad78ea162b585990ba8828fcc1458
MD5 f94b44d703385fb13b6b40c2647eb82f
BLAKE2b-256 62edcc2893202d44f29b309b809470c6eeda0720be14972bfa752dfd10fe79a8

See more details on using hashes here.

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