Welcome to PILText’s documentation!

PILText is a Python library that creates PNG images from text using Pillow (PIL). It provides tools for:

  • Text rendering with customizable fonts, sizes, and styles

  • Font management including Google Fonts integration

  • Text layout with grids and anchoring

  • Image creation and manipulation

PILText is designed to make it easy to create text-based images programmatically with precise control over text positioning, font selection, and styling.

Indices and tables