
Properties | |
| IntPtr | Data [get] |
| Returns the pointer to the beginning of the image buffer. | |
| nuint | SizeInBytes [get] |
| Returns the total size number of bytes occupied by the image in the buffer. | |
| nuint | LineStartOffset [get] |
| The byte offset to the first pixel of a line. | |
| PixelFormat | PixelFormat [get] |
| Returns the pixel format used by the image. | |
| PixelFormatInfo | PixelFormatInfo [get] |
| Returns a helper object describing the pixel format in detail. The PixelFormatInfo class provides methods to inspect the layout, size, channel count, channel order, and other attributes of the format returned by IImageView.PixelFormat. | |
| Size | Size [get] |
| Returns the overall size of the image (width × height). | |
| uint | Width [get] |
| Returns the width of the image in pixels. | |
| uint | Height [get] |
| Returns the height of the image in pixels. | |
| uint | BitsPerPixel [get] |
| Returns the number of bits that each pixel occupies. | |
| nuint | BytesPerLine [get] |
| Returns the number of bytes in a single image row. | |
| Metadata | Metadata [get] |
| Metadata associated with the image. | |
Interface for viewing image pixel data from arbitrary sources.
This interface defines a standard way to access image properties and raw pixel data, enabling interoperability with different image processing libraries or backends. The interface does not own the image memory. Lifetime management must be handled externally.
|
get |
Returns the number of bits that each pixel occupies.
Note that this can also be queried with PixelFormatInfo but is provided for convenience here.
Implemented in ImageViewBase.
|
get |
Returns the number of bytes in a single image row.
Implemented in ImageViewBase.
|
get |
Returns the pointer to the beginning of the image buffer.
Implemented in ImageViewBase.
|
get |
Returns the height of the image in pixels.
This is a convenience property and effectively forwards to Size.Height.
Implemented in ImageViewBase.
|
get |
The byte offset to the first pixel of a line.
Implemented in ImageViewBase.
Metadata associated with the image.
Implemented in ImageViewBase.
Returns the pixel format used by the image.
Implemented in ImageViewBase.
Returns a helper object describing the pixel format in detail. The PixelFormatInfo class provides methods to inspect the layout, size, channel count, channel order, and other attributes of the format returned by IImageView.PixelFormat.
Implemented in ImageViewBase.
Returns the overall size of the image (width × height).
Implemented in ImageViewBase.
|
get |
Returns the total size number of bytes occupied by the image in the buffer.
Implemented in ImageViewBase.
|
get |
Returns the width of the image in pixels.
This is a convenience property and effectively forwards to Size.Width.
Implemented in ImageViewBase.