{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/21"},{"label":"Graphics","url":"https://skillfed.io/packages/category/multimedia-graphics/2"},{"label":"Visualization","url":"https://skillfed.io/packages/category/scientific-engineering-visualization"},{"label":"Fonts","url":"https://skillfed.io/packages/category/text-processing-fonts"}],"enrichment":{"capability":"PicTex generates high-quality PNG, JPEG, WebP, and SVG images programmatically using CSS Flexbox layouts, powered by Skia graphics rendering and HarfBuzz text shaping.","skillfed_tags":["image-generation","layout-engine","typography"],"use_cases":["Generate Open Graph and social media preview images dynamically from metadata or API responses.","Create styled code snippet images for tutorials, documentation, or social sharing.","Build data visualization graphics (tables, charts) as PNG/SVG without a web rendering layer.","Automate profile cards, GitHub repository cards, or tweet-like social graphics from structured data.","Render multilingual or emoji-heavy text as images with proper shaping and bidirectional layout."],"what_it_does":"PicTex is a Python library that generates images by composing layout elements (Row, Column, Text, Image) using CSS Flexbox principles. You describe your visual design using familiar web layout properties like justify-content, align-items, and flex-grow, then render the result as a raster or vector image. It handles typography through HarfBuzz (supporting kerning, ligatures, and complex scripts), bidirectional text, gradients, shadows, and rounded borders\u2014all without needing a browser or headless rendering infrastructure.\n\nThe library is built on industry-standard graphics engines: Skia for rendering, Taffy for layout computation, and HarfBuzz for text shaping. It's designed for automated image generation workflows like Open Graph previews, social media cards, video thumbnails, data visualizations, and report generation. If you know CSS, the API is intuitive; if you don't, the fluent method-chaining style makes styling declarative and readable.","worth_installing":"Yes, if you need programmatic image generation with CSS-like layout control and don't want browser overhead. The library is actively maintained, has no known vulnerabilities, uses a permissive license, and supports modern Python versions. Install friction is low. The main caveat: skia-python and uharfbuzz are compiled dependencies; verify prebuilt wheels are available for your platform before committing to the stack."},"id":"pictex","links":{"html":"https://skillfed.io/packages/pictex","md":"https://skillfed.io/packages/pictex.md","pypi":"https://pypi.org/project/pictex/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-04-03","license_spdx":null,"license_treatment":"permissive","name":"pictex","python_support":"supports_current","summary":"A Python library for efficient image generation using CSS Flexbox."},"popularity":{"monthly_downloads":84165,"position":14022,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.3.0"}
