Devesprit.ImageProcessor & Devesprit.ImageServer
EmbossEffect

Description:

This processor embosses an Image. Devesprit.ImageProcessor provides a flexible Emboss effect allowing you to control the bump height and the light angle and elevation. You can also generate a colored relief instead of emboss effect.

Method Declaration
Copy Code
public static ImageFactory EmbossEffect(this ImageFactory imageFactory, EmbossSettings settings)

EmbossSettings:

BumpHeight Set the bump height for embossing.
LightAngle Set the light angle. It is measured counterclockwise from the x-axis.
LightElevation Set the light elevation.
ReliefTexture Set whether a colored relief of the target element should be displayed

Assembly:

Devesprit.ImageProcessor.Plugins.AdvancedEffects.dll

Example
Copy Code
new ImageFactory().Load(@"My-Image-Path").EmbossEffect(new EmbossSettings() {ReliefTexture = false});

Original

 

 

Result