Contact us

Applies to: Customer's Canvas On-Premises; Design Atoms .NET 7.4

Skip to main content

Class PixelExtractor

Namespace: Aurigma.DesignAtoms.ImageProcessing.Services

Assembly: Aurigma.DesignAtoms.ImageProcessing.dll

Syntax
public class PixelExtractor

Inheritance: System.Object -> PixelExtractor

Inherited Members​

  • System.Object.ToString
  • System.Object.Equals(System.Object)
  • System.Object.Equals(System.Object,System.Object)
  • System.Object.ReferenceEquals(System.Object,System.Object)
  • System.Object.GetHashCode
  • System.Object.GetType
  • System.Object.MemberwiseClone

Constructors​

PixelExtractor​

public PixelExtractor()

Methods​

ExtractPixels​

public Dictionary<Color, int> ExtractPixels(Image image)

Parameters​

TypeNameDescription
Aurigma.GraphicsMill.Imageimage

Returns​

System.Collections.Generic.Dictionary<Aurigma.GraphicsMill.Color,System.Int32>

MapPixelsInPlace​

public void MapPixelsInPlace(Bitmap bitmap, Func<Color, Color> colorMapper)

Parameters​

TypeNameDescription
Aurigma.GraphicsMill.Bitmapbitmap
System.Func<Aurigma.GraphicsMill.Color,Aurigma.GraphicsMill.Color>colorMapper

ForEachPixel​

public void ForEachPixel(Image image, Action<int, int, Color> pixelAction)

Parameters​

TypeNameDescription
Aurigma.GraphicsMill.Imageimage
System.Action<System.Int32,System.Int32,Aurigma.GraphicsMill.Color>pixelAction

EnsureStandardFormat​

public Image EnsureStandardFormat(Image image)

Parameters​

TypeNameDescription
Aurigma.GraphicsMill.Imageimage

Returns​

Aurigma.GraphicsMill.Image

Was this page helpful?