ImageGear Professional DLL v17.1 for Windows Accusoft
IG_FX_pinch
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > Core Component API Reference > Core Component Functions Reference > FX Functions > IG_FX_pinch

Glossary Item Box

This function pinches an image toward or away from the pinch center.

Declaration:

  Copy Code
AT_ERRCOUNT EXPORT ACCUAPI IG_FX_pinch(
        HIGEAR hIGear, 
        AT_POINT nCenter,
        AT_INT nRadius,
        AT_FLOAT fStrength,
        AT_BOOL bInterpolate,
        HIGPIXEL hbkColor, 
        LPAT_RECT lpRect 
);

Arguments:

hIGear Image to which to apply the effect.
nCenter Pinch center, in pixels.
nRadius Pinch radius, in pixels.
fStrength Pinch strength. Positive value means that the page is pinched away from the center.
bInterpolate If TRUE, interpolation is used during processing.
hbkColor Background color. It should have the same color space and channel depths as the image to which the effect is applied.
lpRect Rectangular area to which to apply the effect, or NULL for whole image.

Return Value:

Returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

When bInterpolate is FALSE, all pixel formats supported by ImageGear Professional, except:

When bInterpolate is TRUE, all pixel formats supported by ImageGear Professional, except:

©2012. Accusoft Corporation. All Rights Reserved.