Skip to main content

A tool for INTENSIFYING images.

Project description

PYTHON INTENSIFIES

Description

A command-line tool for INTENSIFYING images. That is, it opens a file and SHAKES IT VIGOROUSLY. Mostly used for memes.

Requirements

Pretty much Python3.5+ and Pillow. The setup.py should install it for you.

Installation

$ pip install python-intensifies

Usage:

This is basically a command-line tool; just supply a list of images as input. Each of the output images will end in -intensifies.gif. $ intensify input0.png input1.png input2.png

The "wiggle level" can be set anywhere between 0.0 to 1.0. The more wiggle, the more intense the shaking, however the image(s) will be zoomed in to ensure no borders show. $ intensify -w .25 input0.png input1.png input2.png

Changelog

0.2.0 - 0.2.1:
    * Upgraded Pillow to require >= 7.1.0, probably going to update these patch notes on actual changes.
0.1.0 - 0.2.0:
    * Upgraded Pillow to 7.0.0.
0.0.4 - 0.1.0:
    * Added support for bulk intensification; instead of specifying input via -i, multiple files can be specified at the command line.
	* Removed the "--output" argument. Every output now follows a convention of "*-intensifies.gif".
	* Fixed a bug that prevented images from resizing correctly.
    * Fixed a minor security issue as a result of not using the latest Pillow.
0.0.3 - 0.0.4:
    * If you're reading this, you can now install this via pypi.
0.0.2 - 0.0.3:
    * Re-added the FPS parameter I forgot to document removing. Initially it was because Pillow is limited in framerates it can animate, but turns out it's very useful for reducing filesize of emojis.
0.0.1 - 0.0.2:
    * Transparency AND animation is now supported for .gif files used as input.
    * MoviePy, (and by extension, imageio, tqdm, and a copy of ffmpeg) are no longer dependencies.
    * No need for a folder as a package, setup.py just installs a single module now.

Notes

* Transparency for .png files used as input is not supported.

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

python_intensifies-0.2.1.tar.gz (3.9 kB view details)

Uploaded Source

File details

Details for the file python_intensifies-0.2.1.tar.gz.

File metadata

  • Download URL: python_intensifies-0.2.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.2

File hashes

Hashes for python_intensifies-0.2.1.tar.gz
Algorithm Hash digest
SHA256 9425e20954eec9635bd1e1a1ba74f0c98294987aa3ab70ae629db120f7700521
MD5 1372081295814404ea09eb45e5add067
BLAKE2b-256 b7af9749ad30b04d40bc2a494680924c612b30c05ea630ec9d7ab36e286fb6f9

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