ImageGear Professional DLL v18.1 for Windows
IG_FX_oilify
Send Feedback
ImageGear Professional v18.1 > 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:

Name Type Description
hIGear HIGEAR Image to which to apply oilify effect.
brushSize AT_INT 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

©2014. Accusoft Corporation. All Rights Reserved.