Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lordralinc/qig
Create beautiful, customizable images with quotes, supporting unique font styles and emojis
https://github.com/lordralinc/qig
emoji generator pil pillow quotes
Last synced: about 1 month ago
JSON representation
Create beautiful, customizable images with quotes, supporting unique font styles and emojis
- Host: GitHub
- URL: https://github.com/lordralinc/qig
- Owner: lordralinc
- License: mit
- Created: 2024-11-02T00:13:34.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-02T04:52:23.000Z (about 2 months ago)
- Last Synced: 2024-11-02T05:08:05.202Z (about 2 months ago)
- Topics: emoji, generator, pil, pillow, quotes
- Language: Python
- Homepage: https://pypi.org/project/quote-image-generator/
- Size: 5.85 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Quote Image Generator
![PyPI](https://img.shields.io/pypi/v/quote-image-generator)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/quote-image-generator)
![GitHub](https://img.shields.io/github/license/lordralinc/QIG)**Create beautiful, customizable images with quotes, supporting unique font styles and emojis**
# Examples
**Simple quote:**
[![base_quote](pics/base_quote.png)](examples/base_quote.py)**Quote with entities:**
[![entities_quote](pics/entities_quote.png)](examples/entities_quote.py)**Resize grid:**
[![resize_grid](pics/resize_1600_900_quote.png)](examples/resize_grid.py)
[![resize_grid](pics/resize_900_900_quote.png)](examples/resize_grid.py)# Usage
## Emoji source
See `quote_image_generator.processors.emoji.ABCEmojiSource`
## Text processor
The `TextProcessor` class is designed for rendering text and entities.
See `quote_image_generator.processors.text.TextProcessor`
## Entities processor
`EntitiesProcessor` is designed to process text entities, transforming them from the `InputEntity` type to DrawEntity with added styling, such as font and color.
# Pipelines
See `quote_image_generator.pipelines.base.BasePipeLine`