Class with various image scaling functions. More...
Static Public Member Functions | |
static Image | To8BppUnsigned (Image img) |
Convert the input image to an image with 8 bits per pixel unsigned data. More... | |
static Image | To16BppUnsigned (Image img) |
Convert the input image to an image with 16 bits per pixel unsigned data. More... | |
static Image | To16BppSigned (Image img) |
Convert the input image to an image with 16 bits per pixel signed data. More... | |
static Image | To32BppSigned (Image img) |
Convert the input image to an image with 32 bits per pixel signed data. More... | |
static Image | To32BppFloat (Image img, double minVal, double maxVal) |
Convert the input image to an image with 32 bits per pixel float data. More... | |
Class with various image scaling functions.
When scaling, the value range from the source image is adapted to that of the target image as good as possible.
Convert the input image to an image with 32 bits per pixel float data.
img | Image to be scaled. |
minVal | Minimum value to occur in the output image |
maxVal | Maximum value to occur in the output image |
ArgumentNullException | If the input img is null |
ObjectDisposedException | If the input img has already been disposed |