Devesprit.ImageProcessor & Devesprit.ImageServer
DistortCornersEffectWeb

Description:

This processor distorts an Image by changing the coordinates of the four corners (see figure) defined by the image's boundaries.

 

Parameters:

distortcorners.X1 Set the new upper-left corner x-coordinate
distortcorners.X2 Set the new upper-right corner x-coordinate
distortcorners.X3 Set the new bottom-right corner x-coordinate
distortcorners.X4 Set the new bottom-left corner x-coordinate
distortcorners.Y1 Set the new upper-left corner y-coordinate
distortcorners.Y2 Set the new upper-right corner y-coordinate
distortcorners.Y3 Set the new bottom-right corner y-coordinate
distortcorners.Y4 Set the new bottom-left corner y-coordinate

Assembly:

Devesprit.ImageProcessor.Plugins.AdvancedEffects.dll

Example:

http://your-host/images/picture?distortcorners.X1=-20&distortcorners.Y1=-20&distortcorners.X2=600&distortcorners.Y2=0&distortcorners.X3=650&

distortcorners.Y3=280&distortcorners.X4=-30&distortcorners.Y4=400

Original

 

 

Result

distortcorners.X1=-20&distortcorners.Y1=-20&distortcorners.X2=600&distortcorners.Y2=0&distortcorners.X3=650&
distortcorners.Y3=280&distortcorners.X4=-30&distortcorners.Y4=400&bgcolor=fff