PixelFormatExtensions Class

KGy SOFT Drawing Libraries Help
Contains extension methods for the PixelFormat type.
Inheritance Hierarchy

SystemObject
  KGySoft.Drawing.WpfPixelFormatExtensions

Namespace:  KGySoft.Drawing.Wpf
Assembly:  KGySoft.Drawing.Wpf (in KGySoft.Drawing.Wpf.dll) Version: 7.0.0-preview.2
Syntax

public static class PixelFormatExtensions

The PixelFormatExtensions type exposes the following members.

Methods

  NameDescription
Public methodStatic memberGetMatchingQuantizer
Gets a PredefinedColorsQuantizer instance that fits for the specified pixelFormat. For indexed formats a default palette will be used.
Public methodStatic memberIsIndexed
Gets whether this PixelFormat represents an indexed format.
Public methodStatic memberToKnownPixelFormat
Converts this PixelFormat to a compatible KnownPixelFormat value.
Public methodStatic memberToPixelFormat
Converts a KnownPixelFormat to the closest PixelFormat.
Public methodStatic memberToPixelFormatInfo
Converts this PixelFormat to a PixelFormatInfo structure.
Top
See Also

Reference