AdvancedImageConverter Class

KGy SOFT Drawing Libraries Help
Provides a converter for Image instances that can preserve the original format of images better than the ImageConverter class when converting Bitmap, Metafile and Icon images.
Inheritance Hierarchy

SystemObject
  System.ComponentModelTypeConverter
    System.DrawingImageConverter
      KGySoft.ComponentModelAdvancedImageConverter

Namespace:  KGySoft.ComponentModel
Assembly:  KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 6.0.0
Syntax

public class AdvancedImageConverter : ImageConverter

The AdvancedImageConverter type exposes the following members.

Constructors

  NameDescription
Public methodAdvancedImageConverter
Initializes a new instance of the AdvancedImageConverter class
Top
Methods

  NameDescription
Public methodConvertFrom
Converts a specified object to an Image.
(Overrides ImageConverterConvertFrom(ITypeDescriptorContext, CultureInfo, Object).)
Public methodConvertTo
Converts an Image (or an object that can be cast to an Image) to the specified type.
(Overrides ImageConverterConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type).)
Top
Remarks

Note Note
This class is available in the .NET Framework and .NET Core 3.0 or later versions.
See Also

Reference