Converts images to and from xtd::drawing::image class. This class cannot be inherited.
Public Static Methods | |
static void | bitonal (xtd::drawing::image &image, int32 threshold, const color &upper_color, const color &lower_color) |
Converts into lower and upper colors of the specified image with specified threshold, upper color and lower color. | |
static xtd::drawing::image | bitonal (const xtd::drawing::image &image, int32 threshold, const color &upper_color, const color &lower_color) |
Creates a new lower and upper image of the specified image with specified threshold, upper color and lower color. | |
static void | blur (xtd::drawing::image &image, int32 radius) |
Blur the specified image with the specified radius. | |
static xtd::drawing::image | blur (const xtd::drawing::image &image, int32 radius) |
Creates a new blurred image of the specified image with the specified radius. | |
static void | brightness (xtd::drawing::image &image, double percent) |
Change the brightness of the specified image with specified percent. | |
static xtd::drawing::image | brightness (const xtd::drawing::image &image, double percent) |
Creates a new image with brightness changed of the specified image with specified percent. | |
static void | color (xtd::drawing::image &image, const xtd::drawing::color &color, double percent) |
Add / remove the specified color from the specified image with the specified percent. | |
static xtd::drawing::image | color (const xtd::drawing::image &image, const xtd::drawing::color &color, double percent) |
Create a new image with the specified color that will be added/removed from the specified image with the specified percent. | |
static void | color_extraction (xtd::drawing::image &image, int32 threshold, const drawing::color &extraction_color, const xtd::drawing::color &other_pixels_color) noexcept |
Filters image with specified color and replaces all other colors with other specified color. | |
static xtd::drawing::image | color_extraction (const xtd::drawing::image &image, int32 threshold, const drawing::color &extraction_color, const xtd::drawing::color &other_pixels_color) noexcept |
Creates a new filtered image with specified color and replaces all other colors with other specified color. | |
static void | color_substitution (xtd::drawing::image &image, int32 threshold, const drawing::color &source_color, const xtd::drawing::color &new_color) noexcept |
Replaces the specified source color with the new color. | |
static xtd::drawing::image | color_substitution (const xtd::drawing::image &image, int32 threshold, const drawing::color &source_color, const xtd::drawing::color &new_color) noexcept |
Creates a new image where the specified source color is replaced by the new color. | |
static void | contrast (xtd::drawing::image &image, double percent) |
Change the contrast of the specified image with specified percent factor. | |
static xtd::drawing::image | contrast (const xtd::drawing::image &image, double percent) |
Creates a new contrasting image of the specified image with specified percent factor. | |
static void | crop (xtd::drawing::image &image, const xtd::drawing::rectangle &rectangle) |
Crops image with of the specified image with specified recatngle. | |
static xtd::drawing::image | crop (const xtd::drawing::image &image, const xtd::drawing::rectangle &rectangle) |
Creates a new cropped image of the specified image with specified rectangle. | |
static void | disabled (xtd::drawing::image &image, const xtd::drawing::color &back_color) |
Disable the specified image with specified reference background color. | |
static xtd::drawing::image | disabled (const xtd::drawing::image &image, const xtd::drawing::color &back_color) |
Creates a new disabled image of the specified image with specified reference background color. | |
static void | disabled (xtd::drawing::image &image, float brightness) |
Disabled the specified image with specified brightness. | |
static xtd::drawing::image | disabled (const xtd::drawing::image &image, float brightness) |
Creates a new disabled image of the specified image with specified brightness. | |
static void | drop_shadow (xtd::drawing::image &image, int32 horizontal_shadow, int32 vertical_shadow, int32 blur, const xtd::drawing::color &color) |
Add drop shadow to the specified image, with specified horizontal and vertical shadow, blur radius, and the shadow color. | |
static xtd::drawing::image | drop_shadow (const xtd::drawing::image &image, int32 horizontal_shadow, int32 vertical_shadow, int32 blur, const xtd::drawing::color &color) |
Create a new imgae with drop shadow with the specified image, horizontal and vertical shadow, blur radius, and the shadow color. | |
static void | gamma_correction (xtd::drawing::image &image, double r, double g, double b) |
Change the gamma of the specified image with specified r, g, ad b corrections. | |
static xtd::drawing::image | gamma_correction (const xtd::drawing::image &image, double r, double g, double b) |
Creates a new image with gamma correction of the specified image with specified r, g, ad b corrections. | |
static void | grayscale (xtd::drawing::image &image) |
Converts into grayscale of the specified image. | |
static xtd::drawing::image | grayscale (const xtd::drawing::image &image) |
Creates a new image with grayscale colors of the specified image. | |
static void | grayscale (xtd::drawing::image &image, double percent) |
Converts into grayscale of the specified image with specified percent factor. | |
static xtd::drawing::image | grayscale (const xtd::drawing::image &image, double percent) |
Creates a new image with grayscale colors of the specified image with specified percent factor. | |
static void | hue_rotate (xtd::drawing::image &image, int angle) |
Rotate hue colors of the specified image with specified angle. | |
static xtd::drawing::image | hue_rotate (const xtd::drawing::image &image, int angle) |
Creates a new image with rotated hue colors of the specified image with specified angle. | |
static void | invert (xtd::drawing::image &image) |
Inverts colors of the specified image. | |
static xtd::drawing::image | invert (const xtd::drawing::image &image) |
Creates a new image with inverted colors of the specified image. | |
static void | invert (xtd::drawing::image &image, double percent) |
Inverts colors of the specified image with specified percent factor. | |
static xtd::drawing::image | invert (const xtd::drawing::image &image, double percent) |
Creates a new image with inverted colors of the specified image with specified percent factor. | |
static void | opacity (xtd::drawing::image &image, double percent) |
Changes the opacity level of the specified image with specified percent factor. | |
static xtd::drawing::image | opacity (const xtd::drawing::image &image, double percent) |
Creates a new image with opacity level of the specified image with specified percent factor. | |
static void | rescale (xtd::drawing::image &image, const xtd::drawing::size &size) |
Rescale image with of the specified image with specified size. | |
static xtd::drawing::image | rescale (const xtd::drawing::image &image, const xtd::drawing::size &size) |
Creates a new resacaling image with new size of the specified image with specified size. | |
static void | resize (xtd::drawing::image &image, const xtd::drawing::size &size) |
Resize image with of the specified image with specified size. | |
static xtd::drawing::image | resize (const xtd::drawing::image &image, const xtd::drawing::size &size) |
Creates a new resized image with new size of the specified image with specified size. | |
static void | rotate_flip (xtd::drawing::image &image, xtd::drawing::rotate_flip_type rotate_flip_type) |
Rotates, flips, or rotates and flips of the specified image with specified rotate flip type. | |
static xtd::drawing::image | rotate_flip (const xtd::drawing::image &image, xtd::drawing::rotate_flip_type rotate_flip_type) |
Creates a new image with rotations, flips, or rotations and flips of the specified image with specified rotate flip type. | |
static void | saturate (xtd::drawing::image &image, double percent) |
Change the saturate of the specified image with specified percent factor. | |
static xtd::drawing::image | saturate (const xtd::drawing::image &image, double percent) |
Creates a new saturate image of the specified image with specified percent factor. | |
static void | sepia (xtd::drawing::image &image) |
Converts into sepia colors of the specified image. | |
static xtd::drawing::image | sepia (const xtd::drawing::image &image) |
Creates a new image with sepia colors of the specified image. | |
static void | sepia (xtd::drawing::image &image, double percent) |
Converts into sepia colors of the specified image with specified percent factor. | |
static xtd::drawing::image | sepia (const xtd::drawing::image &image, double percent) |
Creates a new image with sepia colors of the specified image with specified percent factor. | |
static void | threshold (xtd::drawing::image &image, int32 threshold) |
Converts into black and white colors of the specified image with specified threshold. | |
static xtd::drawing::image | threshold (const xtd::drawing::image &image, int32 threshold) |
Creates a new black and white image of the specified image with specified threshold. | |