{"library":"pillow-simd","title":"Pillow-SIMD","description":"Pillow-SIMD is a fork of Pillow (Python Imaging Library) that adds SIMD (Single Instruction Multiple Data) optimizations for faster image processing on supporting CPUs. Current version is 9.5.0.post2, built on Pillow 9.5.0. It requires Python >=3.7 and is maintained as a drop-in replacement for Pillow with performance improvements for common operations like resizing, filtering, and color space conversion.","language":"python","status":"active","last_verified":"Sat May 09","install":{"commands":["pip install pillow-simd"],"cli":null},"imports":["from PIL import Image","from PIL import ImageFilter"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from PIL import Image\n# Open an image\nimg = Image.open('example.jpg')\n# Resize using the optimized LANCZOS filter\nresized = img.resize((300, 300), Image.LANCZOS)\n# Save\nresized.save('output.jpg')\n# For SIMD-accelerated operations, the same API works.\n# Ensure you're using pillow-simd, not standard Pillow.\nprint('Pillow-SIMD version:', Image.__version__)","lang":"python","description":"Basic image resize using pillow-simd. The API is identical to Pillow; SIMD optimizations are applied automatically.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}