ImageGear21.Core Assembly > ImageGear.Core Namespace > ImGearDIB Class : GetImage Method |
'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();
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.