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

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page