Skip to main content

Module to turn images into thumbnails.

Project description

Python module to turn images into 120x180 JPEG thumbnails.

Installation

Make sure you have Python 3 installed. Then:

pip install thumbnailer

Usage

thumbnailer can either be used in your code:

import thumbnailer

thumbnailer.thumbnail("MyCoolPic.png")

It will then create a 120x180 JPEG version of your picture. If it already was a JPEG, thumbnailer will overwrite it.

Alternatively, you can use thumbnailer from the console:

python3 -m thumbnailer [path to image here]

or:

thumbnailer [path to image here]

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

thumbnailer-1.1.0.tar.gz (2.4 kB view hashes)

Uploaded Source

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