{"categories":[{"label":"Graphics","url":"https://skillfed.io/packages/category/multimedia-graphics"}],"enrichment":{"capability":"Encodes and decodes JPEG images directly to and from memory using libturbojpeg, with support for multiple colorspaces and fast header inspection.","skillfed_tags":["image-processing","performance-critical","numpy-native"],"use_cases":["Batch decode thousands of JPEG files into numpy arrays for machine learning pipelines with minimal overhead.","Inspect JPEG dimensions and colorspace metadata at 100000+ images per second without full decompression.","Encode video frames or scientific data to JPEG with fine-grained control over quality and subsampling.","Process YUV420 video frames directly from OpenCV without RGB conversion overhead.","Build high-throughput image servers that need to read and write JPEG data from memory buffers."],"what_it_does":"simplejpeg is a thin wrapper around libturbojpeg that provides fast JPEG encoding and decoding directly from memory. It accepts JPEG data as bytes or any object supporting the buffer protocol, and returns decoded images as numpy arrays in your choice of colorspace (RGB, BGR, GRAY, CMYK, etc.). It also offers functions to inspect JPEG headers without full decompression and to encode numpy arrays back to JPEG with control over quality and color subsampling.\n\nThe package is designed for developers who prioritize speed and direct memory access over convenience. Unlike Pillow, it avoids the overhead of stream wrappers; unlike OpenCV, it returns images in standard RGB by default and has a smaller footprint. It exposes advanced features of libturbojpeg such as fast DCT modes and direct YUV plane encoding, making it useful for batch processing, video pipelines, and resource-constrained environments.","worth_installing":"Yes, if you need fast JPEG encoding/decoding with direct memory access and are comfortable with a compiled dependency. The medium install friction is offset by pre-built wheels for common platforms and active maintenance. No known vulnerabilities. MIT license is permissive. Not recommended if you need a lightweight pure-Python solution or broad format support beyond JPEG."},"id":"simplejpeg","links":{"html":"https://skillfed.io/packages/simplejpeg","md":"https://skillfed.io/packages/simplejpeg.md","pypi":"https://pypi.org/project/simplejpeg/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-10-10","license_spdx":"MIT","license_treatment":"permissive","name":"simplejpeg","python_support":"supports_current","summary":"A simple package for fast JPEG encoding and decoding."},"popularity":{"monthly_downloads":326134,"position":7579,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.9.0"}
