ImageGear .NET v24.12 - Updated
GetImage Method (ImGearDIB)




ImageGear24.Core Assembly > ImageGear.Core Namespace > ImGearDIB Class : GetImage Method
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 for .NET pixel storage are DWORD-aligned.

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

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

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

See Also

Reference

ImGearDIB Class
ImGearDIB Members
ImGearArrayRef Structure