diff --git a/src/ImageProcessor/ImageProcessor.csproj b/src/ImageProcessor/ImageProcessor.csproj index e750cf552..dc77e9c2d 100644 --- a/src/ImageProcessor/ImageProcessor.csproj +++ b/src/ImageProcessor/ImageProcessor.csproj @@ -159,6 +159,7 @@ + diff --git a/src/ImageProcessor/Imaging/Formats/IQuantizableImageFormat.cs b/src/ImageProcessor/Imaging/Formats/IQuantizableImageFormat.cs new file mode 100644 index 000000000..292b451ed --- /dev/null +++ b/src/ImageProcessor/Imaging/Formats/IQuantizableImageFormat.cs @@ -0,0 +1,25 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// Copyright (c) James South. +// Licensed under the Apache License, Version 2.0. +// +// +// The IQuantizableImageFormat interface for identifying quantizable image formats. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace ImageProcessor.Imaging.Formats +{ + using ImageProcessor.Imaging.Quantizers; + + /// + /// The IndexedImageFormat interface for identifying quantizable image formats. + /// + public interface IQuantizableImageFormat + { + /// + /// Gets or sets the quantizer for reducing the image palette. + /// + IQuantizer Quantizer { get; set; } + } +}