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

Uploaded Source

File details

Details for the file thumbnailer-1.1.0.tar.gz.

File metadata

  • Download URL: thumbnailer-1.1.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for thumbnailer-1.1.0.tar.gz
Algorithm Hash digest
SHA256 e9a2ad0ee1af7c40745d88f6a2ca96e32eed28ba5f02f8160d9b16b128c7cacf
MD5 3a7e80d730b7af01b4218c6428ecade4
BLAKE2b-256 a1d02eea1000bcc4ab464774a602b37fe8964e8b64ec9dc69772d71b3147ad0c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page