EmfColorAdjustment Class

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

Module: aspose.imaging.fileformats.emf.emf.objects

Full Name: aspose.imaging.fileformats.emf.emf.objects.EmfColorAdjustment

Inheritance: EmfObject

Aspose.Imaging Version: 24.5.0

Constructors

NameDescription
EmfColorAdjustment()Initializes a new instance of the EmfColorAdjustment class

Properties

NameTypeAccessDescription
blue_gammashortr/wGets 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.
brightnessshortr/wGets 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.
colorfullnessshortr/wGets 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
contrastshortr/wGets 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.
green_gammashortr/wGets 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.
illuminant_indexEmfIlluminantr/wGets 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).
red_gammashortr/wGets 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.
red_green_tintshortr/wGets 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
reference_blackshortr/wGets 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
reference_whiteshortr/wGets 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.
sizeshortr/wGets or sets a 16-bit unsigned integer that specifies the size in bytes of this object. This MUST be 0x0018.
valuesEmfColorAdjustmentEnumr/wGets 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).

Constructor: EmfColorAdjustment()

 EmfColorAdjustment() 

Initializes a new instance of the EmfColorAdjustment class