From 36423aaa1e62d0c30b259813b979da5331d1fdf2 Mon Sep 17 00:00:00 2001 From: James South Date: Sat, 8 Nov 2014 10:16:06 +0000 Subject: [PATCH] Adding missed interface Former-commit-id: 1215561609b3f3c4167d2ac546856389eaf2d781 Former-commit-id: 3be21bf118dd484c8108dd4e3aeb30dd010a27f4 --- src/ImageProcessor/ImageProcessor.csproj | 1 + .../Formats/IQuantizableImageFormat.cs | 25 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 src/ImageProcessor/Imaging/Formats/IQuantizableImageFormat.cs 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; } + } +}