Returns an AtalaImage from a DIB (Device Independent Bitmap) pointer.
Namespace:
Atalasoft.Imaging
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public static AtalaImage FromDib(
IntPtr dibPointer,
bool copy
)
Public Shared Function FromDib (
dibPointer As IntPtr,
copy As Boolean
) As AtalaImage
Parameters
- dibPointer
- Type: SystemIntPtr
The DIB (device independent bitmap) pointer. - copy
- Type: SystemBoolean
Indicates if the DIB data is copied into the AtalaImage .
Return Value
Type:
AtalaImage An AtalaImage from a DIB (Device Independent Bitmap) pointer.
Remarks The memory will be handled and disposed by the returned AtalaImage object if copy
is set to true.
See Also