Devesprit.ImageProcessor & Devesprit.ImageServer
CameraViewEffect

Description:

This processor simulates a camera view of an Image.

In CameraView processor, the camera point of view is defined by specifying two angles called Elevation & Azimuth which refer to the vertical and horizontal rotation angles of a camera's sight line relative to the center point of an element respectively; as shown in the following figure.

Method Declaration
Copy Code
public static ImageFactory CameraViewEffect(this ImageFactory imageFactory, CameraViewSettings settings)

CameraViewSettings:

Azimuth Set the horizontal rotation angle of a camera's sight line relative to the center point of an element.
Elevation Set the vertical rotation angle of a camera's sight line relative to the center point of an element.

Assembly:

Devesprit.ImageProcessor.Plugins.AdvancedEffects.dll

Example
Copy Code
new ImageFactory().Load(@"My-Image-Path")
.CameraViewEffect(new CameraViewSettings() {Azimuth = 30, Elevation = 30})
.BackgroundColor(Color.White);

Original

 

 

Result