Skip to main content

Parse ebooks, extracts chapters and contents.

Project description

Thumber

This Python script takes an image and creates a composite image with the original one centered, while the background is filled with a blurred and faded version, if dimensions or aspect ratio are altered. If it follows the same aspect ratio, but dimensions are smaller, it only downscales the image. The final output will have dimensions specified by command-line arguments.

Install using pip:

pip install thumber

Usage

thumber <input_image> <final_width> <final_height> [blur_radius]

Example:

thumber square.jpg 1920 1080 30

The closer to 0, the lower is the blur effect

License

This project is licensed under the MIT License.

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

thumber-0.1.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

thumber-0.1.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file thumber-0.1.0.tar.gz.

File metadata

  • Download URL: thumber-0.1.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for thumber-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8a03475b79fa9c9a8d497f10cd4b061ee9a1dddbc807da07cd2cff0115e45d02
MD5 0956d669d5a5343ad5cddc50456bd478
BLAKE2b-256 a2e68e905330b457fae442ef10586a73b78d659042129f0146e1f218d5bb3a44

See more details on using hashes here.

File details

Details for the file thumber-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: thumber-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for thumber-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 11919d29e36c8254b5921a3a279a57e15b4c895c440877097c29f46281967bee
MD5 d40b5ef846f1f07332728b56be77e602
BLAKE2b-256 50e5010cbbb4cb0b0ed475b94bae7b6147ba531e0f8a98340fef212624bba2df

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