Class EmfColorAdjustment

Class EmfColorAdjustment

Namespace: Aspose.Imaging.FileFormats.Emf.Emf.Objects
Assembly: Aspose.Imaging.dll (25.2.0)

The ColorAdjustment object defines values for adjusting the colors in source bitmaps in bit-block transfers.

public sealed class EmfColorAdjustment : EmfObject

Inheritance

objectMetaObjectEmfObjectEmfColorAdjustment

Inherited Members

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

EmfColorAdjustment()

public EmfColorAdjustment()

Properties

BlueGamma

Gets or sets a 16-bit unsigned integer that specifies the nth power gamma correction value for the blue primary of the source colors. This value SHOULD be in the range from 2,500 to 65,000. A value of 10,000 means gamma correction MUST NOT be performed.

public short BlueGamma { get; set; }

Property Value

short

Brightness

Gets or sets a 16-bit signed integer that specifies the amount of brightness to be applied to the source object. This value SHOULD be in the range from –100 to 100. A value of zero means brightness adjustment MUST NOT be performed.

public short Brightness { get; set; }

Property Value

short

Colorfullness

Gets or sets a 16-bit signed integer that specifies the amount of colorfulness to be applied to the source object. This value SHOULD be in the range from –100 to 100. A value of zero means colorfulness adjustment MUST NOT be performed

public short Colorfullness { get; set; }

Property Value

short

Contrast

Gets or sets a 16-bit signed integer that specifies the amount of contrast to be applied to the source object. This value SHOULD be in the range from –100 to 100. A value of zero means contrast adjustment MUST NOT be performed.

public short Contrast { get; set; }

Property Value

short

GreenGamma

Gets or sets a 16-bit unsigned integer that specifies the nth power gamma correction value for the green primary of the source colors. This value SHOULD be in the range from 2,500 to 65,000. A value of 10,000 means gamma correction MUST NOT be performed.

public short GreenGamma { get; set; }

Property Value

short

IlluminantIndex

Gets or sets a 16-bit unsigned integer that specifies the type of standard light source under which the image is viewed, from the Illuminant enumeration (section 2.1.19).

public EmfIlluminant IlluminantIndex { get; set; }

Property Value

EmfIlluminant

RedGamma

Gets or sets a 16-bit unsigned integer that specifies the nth power gamma correction value for the red primary of the source colors. This value SHOULD be in the range from 2,500 to 65,000. A value of 10,000 means gamma correction MUST NOT be performed.

public short RedGamma { get; set; }

Property Value

short

RedGreenTint

Gets or sets 16-bit signed integer that specifies the amount of red or green tint adjustment to be applied to the source object. This value SHOULD be in the range from –100 to 100. Positive numbers adjust towards red and negative numbers adjust towards green. A value of zero means tint adjustment MUST NOT be performed

public short RedGreenTint { get; set; }

Property Value

short

ReferenceBlack

Gets or sets a 16-bit unsigned integer that specifies the black reference for the source colors. Any colors that are darker than this are treated as black. This value SHOULD be in the range from zero to 4,000

public short ReferenceBlack { get; set; }

Property Value

short

ReferenceWhite

Gets or sets a 16-bit unsigned integer that specifies the white reference for the source colors. Any colors that are lighter than this are treated as white. This value SHOULD be in the range from 6,000 to 10,000.

public short ReferenceWhite { get; set; }

Property Value

short

Size

Gets or sets a 16-bit unsigned integer that specifies the size in bytes of this object. This MUST be 0x0018.

public short Size { get; set; }

Property Value

short

Values

Gets or sets a 16-bit unsigned integer that specifies how to prepare the output image. This field can be set to NULL or to any combination of values in the ColorAdjustment enumeration (section 2.1.5).

public EmfColorAdjustmentEnum Values { get; set; }

Property Value

EmfColorAdjustmentEnum