Collection of extension methods that involve the type Image. More...
Static Public Member Functions | |
| static BitmapSource | ToBitmapSource (this Bitmap bmp) |
| Extension method to create a BitmapSource from a Bitmap object. | |
| static BitmapSource | ToBitmapSource (this Image img, int width, int height, Rect sourceRect, PlaneConfiguration planes, double gain, int offset, HighBitScaleMode mode) |
| Create a BitmapSource from this CVB image. | |
| static BitmapSource | ToBitmapSource (this Image img, HighBitScaleMode mode) |
| Convert this Cvb image into a bmData source of identical size. | |
| static BitmapSource | ToBitmapSource (this Image img) |
| Convert this Cvb image into a bmData source of identical size, using default conversion for high bit images. | |
| static BitmapSource | ToBitmapSource (this Image img, int width, int height, HighBitScaleMode mode) |
| Convert this Cvb image into a bmData of selectable size. | |
| static void | WriteImage (this WriteableBitmap bm, Image img, Rect sourceRect, Rect targetRect, HighBitScaleMode mode) |
| Copies the pixel data from the given sourceRect of the Image img . | |
| static bool | IsSpecial (this Image img) |
| Gets whether this image should be displayed via ToBitmap. | |
| static void | WriteImage (this WriteableBitmap bm, Image img, Int32Rect sourceRect, Int32Rect targetRect, HighBitScaleMode mode) |
| Copies the pixel data from the given sourceRect of the Image img . | |
| static void | WriteImage (this WriteableBitmap bm, Image img, Rect sourceRect, HighBitScaleMode mode) |
| Copies the pixel data from the given sourceRect of the Image img . | |
| static void | WriteImage (this WriteableBitmap bm, Image img, Int32Rect sourceRect, HighBitScaleMode mode) |
| Copies the pixel data from the given sourceRect of the Image img . | |
| static void | WriteImage (this WriteableBitmap bm, Image img, HighBitScaleMode mode) |
| Copies the Image pixel data. | |
Collection of extension methods that involve the type Image.
|
static |
Gets whether this image should be displayed via ToBitmap.
| img | Image to be tested. |
|
static |
Extension method to create a BitmapSource from a Bitmap object.
| bmp | Bitmap object to work on. |
|
static |
Convert this Cvb image into a bmData source of identical size, using default conversion for high bit images.
| img | image to be converted |
|
static |
|
static |
Convert this Cvb image into a bmData of selectable size.
| width | width of the Bitmap to be returned; may be 0, in which case the width is calculated taking into account the aspect ration of this image(if height != 0) or will be set to the width of this image(if width and height are 0) |
| height | height of the Bitmap to be returned; may be 0, in which case the height is calculated taking into account the aspect ration of this image (if width != 0) or will be set to the height of this image (if width and height are 0) |
| img | the Image to work on |
| mode | treatment for images with more than 8 bits per pixel |
|
static |
Create a BitmapSource from this CVB image.
| width | width of the Bitmap to be returned; may be 0, in which case the width is calculated taking into account the aspect ration of sourceRect (if height != 0) or will be set to the width of sourceRect (if width and height are 0) |
| height | height of the Bitmap to be returned; may be 0, in which case the height is calculated taking into account the aspect ration of sourceRect (if width != 0) or will be set to the height of sourceRect (if width and height are 0) |
| sourceRect | subregion of the image to paint into the bmData |
| planes | plane configuration to use for painting |
| gain | gain to apply during painting |
| offset | offset to apply during painting |
| img | the Image to work on |
| mode | treatment for images with more than 8 bits per pixel |
| ObjectDisposedException | If this image has already been disposed |
|
static |
Copies the Image pixel data.
| bm | The writeable bmData to copy to. |
| img | The CVB image to copy from. |
| mode | treatment for images with more than 8 bits per pixel |
|
static |
Copies the pixel data from the given sourceRect of the Image img .
| bm | The writeable bmData to copy to. |
| img | The CVB image to copy from. |
| sourceRect | Region to copy in pixels. |
| mode | treatment for images with more than 8 bits per pixel |
|
static |
Copies the pixel data from the given sourceRect of the Image img .
| bm | The writeable bmData to copy to. |
| img | The CVB image to copy from. |
| sourceRect | Region to copy from in pixels. |
| targetRect | Region to copy to in pixels. |
| mode | treatment for images with more than 8 bits per pixel |
|
static |
Copies the pixel data from the given sourceRect of the Image img .
| bm | The writeable bmData to copy to. |
| img | The CVB image to copy from. |
| sourceRect | Region to copy in pixels. |
| mode | treatment for images with more than 8 bits per pixel |
|
static |
Copies the pixel data from the given sourceRect of the Image img .
| bm | The writeable bmData to copy to. |
| img | The CVB image to copy from. |
| sourceRect | Region to copy from in pixels. |
| targetRect | Region to copy to in pixels. |
| mode | treatment for images with more than 8 bits per pixel |