ImageGear for .NET
Aging Method
See Also  Send Feedback
ImageGear21.Processing.Advanced Assembly > ImageGear.Processing Namespace > ImGearEffects Class : Aging Method




page
Image to apply aging effect to.
saturation
Adjusts color saturation of the original image. The value should range from 0 to 1, where 0 removes all color from the image, and 1 does not adjust color saturation.
deviation
Amount of noise to add to the image. The value should range from 0 to 50.
imageContrast
Adjusts image contrast. The value should range from 0 to 1, where 0 is minimum contrast, and 1 does not adjust contrast. Values less than 0 produce inverted contrast.
lineContrast
Adjusts contrast of random vertical lines added to the image. The value should range from -1 to 1, where -1 is completely black lines, 0 is invisible lines, and 1 is completely white lines. Values between 0 and 1, for example, blend line color between original image pixel colors and white.
lineDensity
Adjusts density (quantity) of random vertical lines added to the image. The value should range from 0 to the width of the image in pixels, where 0 would add no lines, and the width of the image in pixels would fill the image with lines.
backgroundColor
Adjusts color tint of the image. The color of the image will be tinted according to the values of the array. The array consists of three elements that represent red, green, and blue adjustment factors. Each element ranges from -1 to 1, where a value of 0 represents no change to the image's color component, -1 represents complete change to the color component's minimum value, and 1 represents complete change to the color component's maximum value.

Glossary Item Box

Applies an aging effect to make an image look older.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

page
Image to apply aging effect to.
saturation
Adjusts color saturation of the original image. The value should range from 0 to 1, where 0 removes all color from the image, and 1 does not adjust color saturation.
deviation
Amount of noise to add to the image. The value should range from 0 to 50.
imageContrast
Adjusts image contrast. The value should range from 0 to 1, where 0 is minimum contrast, and 1 does not adjust contrast. Values less than 0 produce inverted contrast.
lineContrast
Adjusts contrast of random vertical lines added to the image. The value should range from -1 to 1, where -1 is completely black lines, 0 is invisible lines, and 1 is completely white lines. Values between 0 and 1, for example, blend line color between original image pixel colors and white.
lineDensity
Adjusts density (quantity) of random vertical lines added to the image. The value should range from 0 to the width of the image in pixels, where 0 would add no lines, and the width of the image in pixels would fill the image with lines.
backgroundColor
Adjusts color tint of the image. The color of the image will be tinted according to the values of the array. The array consists of three elements that represent red, green, and blue adjustment factors. Each element ranges from -1 to 1, where a value of 0 represents no change to the image's color component, -1 represents complete change to the color component's minimum value, and 1 represents complete change to the color component's maximum value.

Remarks

The effect can adjust image saturation and contrast, and add noise and random vertical lines to the image.

See Also

©2013. Accusoft Corporation. All Rights Reserved.