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.

Files for thumbnailer, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size thumbnailer-1.1.0.tar.gz (2.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page