Skip to main content

Utilities to generate card backgrounds (Type A) using concentric polygons.

Project description

lambdawaker.draw.card_backgorund

Utilities to generate card backgrounds (Type A) using concentric polygons. Built on top of Pillow and aggdraw.

Installation:

  • pip install lambdawaker.draw.card_backgorund

Usage:

  • from lambdawaker.draw.card_background import create_type_a_card_background
  • img = create_type_a_card_background(width=800, height=800)
  • img.save("card_bg.png")

Notes:

  • This package imports draw_concentric_polygons from lambdawaker.draw.grid.concentric_polygins. Ensure that module is available in your environment.

License: MIT

Changelog:

  • 0.1.0 — Initial release

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

lambdawaker_draw_card_backgorund-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

File details

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

File metadata

File hashes

Hashes for lambdawaker_draw_card_backgorund-0.1.0.tar.gz
Algorithm Hash digest
SHA256 55dbe449622b5c0725c8a1343164dcb3332f07724607c1ca9d17fa01daa60b35
MD5 dfb798984f5a70654b93b445668ab802
BLAKE2b-256 7310fa0fd7820b3ce521c6f0178f808a1ee1df7b2269d52ce350d4d5589424eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lambdawaker_draw_card_backgorund-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7e949357181c1194a07187fbf8edf25ff5f0b529568c2dcf7f0cac1b31288aef
MD5 9a164d9a9a3fd389f115eda824c7741c
BLAKE2b-256 50270741ef9fbba0b1186054ab8aca0d6ccb3f4f1b81b3c283883fdcb80d82d6

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