Skip to main content

A library to generate text images with custom backgrounds.

Project description


WordImg

WordImg is a Python library that generates images with custom text over a user-provided background. The background is automatically resized to 2560x1440, and text is centered for a professional look.

Features

✅ Resize background to 2560x1440 ✅ Custom text positioning ✅ Built-in font (no external dependency) ✅ Auto-save images to saved_images/ ✅ Simple and lightweight

Installation

Install WordImg using:

pip install WordImg

Usage

from wordimg import WordImg

wordimg = WordImg()
image_path = wordimg.make_image("background.jpg", "Delta", "@wtfdelta")

print(f"Image saved at: {image_path}")

Example Output

Example Output

If you provide "background.jpg" and "Hello World", the generated image will have:

Resized background (2560x1440)

Centered text: "Hello World"

Username in the top-left corner

Project Links

Website: deltaop.tech

GitHub: github.com/geektyper

Telegram: wtf_daddie.t.me


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

wordimg-1.0.2.tar.gz (70.5 kB view details)

Uploaded Source

Built Distribution

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

wordimg-1.0.2-py3-none-any.whl (69.7 kB view details)

Uploaded Python 3

File details

Details for the file wordimg-1.0.2.tar.gz.

File metadata

  • Download URL: wordimg-1.0.2.tar.gz
  • Upload date:
  • Size: 70.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for wordimg-1.0.2.tar.gz
Algorithm Hash digest
SHA256 896a6c742bfd083034216ce86f5ce03c6bbc146b08c3a3fb5503d4d6d4914aa1
MD5 cb8bd74d284e167b04418b465f5698c3
BLAKE2b-256 e256d2ab1daadbcf894d03e6ca902edfc1f7a3c90bdb819678ab7e0d1b35c562

See more details on using hashes here.

File details

Details for the file wordimg-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: wordimg-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 69.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for wordimg-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 372fd31a23bf7f47c31c5ae2ad001b1d9122157533914e7d7f86d6a19e6b0365
MD5 d05fac2c2f713c8909fe8f9f5f057524
BLAKE2b-256 84927df45d3ed71207f11773d0c70f50b9bcbc660660c46c75eb3c343d31ade4

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