// // Copyright (c) James Jackson-South and contributors. // Licensed under the Apache License, Version 2.0. // namespace ImageProcessorCore.Quantizers { /// /// Provides methods for allowing quantization of images pixels. /// /// The pixel format. /// The packed format. uint, long, float. public interface IQuantizer : IQuantizer where TColor : IPackedPixel where TPacked : struct { /// /// Quantize an image and return the resulting output pixels. /// /// The image to quantize. /// The maximum number of colors to return. /// /// A representing a quantized version of the image pixels. /// QuantizedImage Quantize(ImageBase image, int maxColors); } /// /// Provides methods for allowing quantization of images pixels. /// public interface IQuantizer { } }