ImageGear v26.5 - Updated
ImageGear.Core Assembly / ImageGear.Core Namespace / ImGearDIB Class / GetImage Method




In This Topic
    GetImage Method
    In This Topic
    Returns a reference to raw image store. Should be used to gain direct access to image pixels.
    Syntax
    'Declaration
     
    Public MustOverride Function GetImage() As ImGearArrayRef
    'Usage
     
    Dim instance As ImGearDIB
    Dim value As ImGearArrayRef
     
    value = instance.GetImage()
    public abstract ImGearArrayRef GetImage()
    public: abstract ImGearArrayRef GetImage(); 
    public:
    abstract ImGearArrayRef GetImage(); 

    Return Value

    ImGearArrayRef structure instance.
    Remarks
    May be used to obtain direct access to the entire image store.

    Structure of image store depends on channels structure and may differ for different DIBs.

    Rasters in ImageGear pixel storage are DWORD-aligned.

    Raster size for standard DIBs (not run-ends) in ImageGear can be calculated using the following formula:

    ((Width * BitsPerChannel * ChannelCount + 31) & ~31) / BitsPerChannel

    Note that the +31 and & ~31 indicate DWORD alignment.

    See Also