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

Glossary Item Box

This function applies an effect to an image that makes it appear similar to an oil painting.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_FX_oilify(
        HIGEAR hIGear, 
        AT_INT brushSize
); 

Arguments:

hIGear Image to which to apply oilify effect.
brushSize Brush size in pixels. As the brush size is increased, less detail is visible in the image and the effect becomes more dramatic.

Return Value:

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

Supported Raster Image Formats:

All pixel formats supported by ImageGear Professional, except:
Indexed RGB – 1 bpp;
Grayscale – 1 bpp;
Indexed RGB with non-grayscale palette;
Images that have a Grayscale LUT attached to them;
17…32 bpc images.

Sample:

Image Processing

©2012. Accusoft Corporation. All Rights Reserved.