ImageGear for C and C++ on Windows v21.0 - Updated
API Reference Guide / Core Component API Reference / Core Component Functions Reference / FX Functions / IG_FX_fragment
In This Topic
    IG_FX_fragment
    In This Topic

    This function fragments an image into four blended images which move diagonally outward from the original image.

    Declaration:

     
    Copy Code
    AT_ERRCOUNT ACCUAPI IG_FX_fragment(
            HIGEAR  hIGear, 
            AT_INT  displacement
    );
    

    Arguments:

    Name Type Description
    hIGear HIGEAR Image to which to apply fragment effect.
    displacement AT_INT Distance in pixels to move each blended image away from the original image.

    Return Value:

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

    Supported Raster Image Formats:

    All pixel formats supported by ImageGear for C and C++, except:
    Indexed RGB – 1 bpp;
    Indexed RGB with non-grayscale palette;
    Grayscale – 1 bpp;
    Images that have a Grayscale LUT attached to them.

    Sample:

    Image Processing