Pixie: A full-featured 2D graphics library for Python
Pixie is a 2D graphics library similar to Cairo and Skia.
pip install pixie-python
Features:
- Typesetting and rasterizing text, including styled rich text via spans.
- Drawing paths, shapes and curves with even-odd and non-zero windings.
- Pixel-perfect AA quality.
- Supported file formats are PNG, BMP, JPG, SVG + more in development.
- Strokes with joins and caps.
- Shadows, glows and blurs.
- Complex masking: Subtract, Intersect, Exclude.
- Complex blends: Darken, Multiply, Color Dodge, Hue, Luminosity… etc.
- Many operations are SIMD accelerated.
Image file formats
Format | Read | Write |
---|---|---|
PNG | ✅ | ✅ |
JPEG | ✅ | |
BMP | ✅ | ✅ |
GIF | ✅ | |
SVG |
✅
|