|
UnmanagedImageFromManagedImage Method (Bitmap)
|
Create unmanaged image from the specified managed image.
Namespace:
Accord.Imaging
Assembly:
Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax public static UnmanagedImage FromManagedImage(
Bitmap image
)
Public Shared Function FromManagedImage (
image As Bitmap
) As UnmanagedImage
Request Example
View SourceParameters
- image
- Type: System.DrawingBitmap
Source managed image.
Return Value
Type:
UnmanagedImageReturns new unmanaged image, which is a copy of source managed image.
Exceptions Remarks The method creates an exact copy of specified managed image, but allocated
in unmanaged memory.
See Also