pypindou.image

Image preprocessing and quantization APIs.

The image package contains low-level helpers used by pypindou.pattern.generate_pattern(). Most users should call the high-level pattern API directly, while application code can import this package to build custom preprocessing, quantization, and benchmarking flows.

__all__

pypindou.image.__all__ = ['BackgroundMode', 'CleanupMode', 'FitMode', 'PreprocessMode', 'QuantizationResult', 'QuantizeMethod', 'ResampleMode', 'cleanup_quantization', 'enhance_image', 'load_image', 'merge_small_regions', 'prefilter_image', 'quantize_image', 'reduce_palette_for_image', 'remove_background_by_alpha', 'resize_image', 'rgba_to_rgb_array']

Built-in mutable sequence.

If no argument is given, the constructor creates a new empty list. The argument must be an iterable if specified.