ImageGear Professional DLL for Windows
IG_FX_oilify

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

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback