francozanardi/pictex
A Python library for efficient image generation using CSS Flexbox
Combines the **Taffy** layout engine with **Skia** graphics and **HarfBuzz** text shaping to render CSS Flexbox layouts directly to raster (PNG/JPEG/WebP) or vector (SVG) formats without a browser. Supports advanced typography features including automatic font fallback, bidirectional text, and variable fonts, making it ideal for generating Open Graph images, social media graphics, and dynamic reports with complex multilingual content.
195 stars. Used by 1 other package. Available on PyPI.
Stars
195
Forks
5
Language
Python
License
MIT
Category
Last pushed
Mar 15, 2026
Commits (30d)
0
Dependencies
7
Reverse dependents
1
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/diffusion/francozanardi/pictex"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related models
NotCookey/Quote2Image
Quote2Image is a python library for turning text quotes into graphical images
usetrmnl/byos_node_lite
Image server for TRMNL built with Node.js, JSX and HTML
Benji377/data2image
Convert a file to image in RGBA and back
erikaheidi/dynacover
This project is discontinued due to changes in the Twitter API access for users. Check...
elkiwy/paynter
PaYnter is a Python module that let you procedurally generate images with handy features that...