HugeBitmapImage Class
Definition
Namespace: P1.ImageSdk
An unmanaged memory bitmap image, too large to be stored as a byte[] object. Represented using a defined pixel format, width and height More…
public class HugeBitmapImage : P1::ImageSdk::IBitmapImage
Remarks
An unmanaged memory bitmap image, too large to be stored as a byte[] object. Represented using a defined pixel format, width and height
Always use this class inside using contexts, to ensure proper (timely) disposal of the referenced unmanaged memory.
Also, be careful if you use the NativeMemoryRef.ToArray method, since it will truncate the returned data to fit inside an array with a signed 32-bit integer index. Meaning it can only return the first 2.1 GB of image data.
Methods
Get a IntPtr provider that creates and destroys handles to the underlying data buffer with the image data |
|