public sealed class UtilImage
Public NotInheritable Class UtilImage
Dim instance As UtilImage
public ref class UtilImage sealed
[<SealedAttribute>]
type UtilImage = class end
No code example is currently available or this language may not be supported.
CaptureCursorIcon | Captures the mouse cursor icon. |
CaptureCursorIcon(Point) | Captures the mouse cursor icon. |
CompressImage(String, ImageFormat, Int32) | Compresses a image file to the specified filesize and returns the raw image stream of the compressed image. |
CompressImage(String, String, ImageFormat, Int32) | Compresses a image file to the specified filesize and saves the compressed image to disk. |
ConvertImageFile(String, BitmapEncoder) | Converts a image file to a different image format and returns the raw image stream of the converted image. |
ConvertImageFile(String, String, BitmapEncoder) | Converts a image file to a different image format and saves the converted image to disk. |
CreateSolidcolorBitmap | Creates a Bitmap image which is filled with the specified solid color. |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
ExtractIconFromExecutableFile(String, Int32) | Extracts a icon stored in the specified executable, dll or icon file. |
ExtractIconFromExecutableFile(String, Int32, Int32) | Extracts a icon stored in the specified executable, dll or icon file. |
ExtractIconFromFile | Extracts the icon associated for the specified file. Note: the maximum size of the returned icon only can be 32x32. |
ExtractIconFromFileExtension | Extracts the icon associated for the specified file extension. Note: the maximum size of the returned icon only can be 32x32. |
ExtractIconFromFileOrDirectory | Extracts the icon associated for the specified file or directory. |
GetAlphaBitmap(Bitmap) | Gets a Bitmap with alpha channel from the specified Bitmap. |
GetAlphaBitmap(IntPtr) | Gets a Bitmap with alpha channel from the specified native hBitmap. |
GetAlphaBitmap(SafeBitmapHandle) | Gets a Bitmap with alpha channel from the specified native hBitmap. |
GetDifferences | Finds the RGB differences between two images and returns them in a two-dimensional Array. |
GetFramesFromImage | Gets a ListT containing all the frames in the source GIF image. |
GetGrayScalePixelPercentOfImage(FileInfo) | Analyzes each pixel of the spcified image, counts all the pixels that are within the grayscale RGB range, then calculates a percentage of the total grayscale presence in the image. |
GetGrayScalePixelPercentOfImage(Image) | Analyzes each pixel of the spcified image, counts all the pixels that are within the grayscale RGB range, then calculates a percentage of the total grayscale presence in the image. |
GetGrayScalePixelPercentOfImage(String) | Analyzes each pixel of the spcified image, counts all the pixels that are within the grayscale RGB range, then calculates a percentage of the total grayscale presence in the image. |
GetGrayScalePixelPercentOfImage(FileInfo, Int32) | Analyzes each pixel of the spcified image, counts all the pixels that are within the grayscale RGB range, then calculates a percentage of the total grayscale presence in the image. |
GetGrayScalePixelPercentOfImage(Image, Int32) | Analyzes each pixel of the spcified image, counts all the pixels that are within the grayscale RGB range, then calculates a percentage of the total grayscale presence in the image. |
GetGrayScalePixelPercentOfImage(String, Int32) | Analyzes each pixel of the spcified image, counts all the pixels that are within the grayscale RGB range, then calculates a percentage of the total grayscale presence in the image. |
GetHashCode | Serves as the default hash function. (Inherited from Object) |
GetIconCountFromExecutableFile | Gets the total amount of icons stored in the specified executable, dll or icon file. |
GetImageEncoder | Gets an image encoder for the specified image format. |
GetPercentageDifference(Image, Image, Byte) | Gets a value indicating the percentage of difference between two images. |
GetPercentageDifference(String, String, Byte) | Gets a value indicating the percentage of difference between two images. |
GetPixelColorPercentOfImage(FileInfo, Color) | Analyzes each pixel of the spcified image, counts all the pixels that are of same color as the color specified, then calculates a percentage of the total grayscale presence in the image. |
GetPixelColorPercentOfImage(Image, Color) | Analyzes each pixel of the spcified image, counts all the pixels that are of same color as the color specified, then calculates a percentage of the total grayscale presence in the image. |
GetPixelColorPercentOfImage(String, Color) | Analyzes each pixel of the spcified image, counts all the pixels that are of same color as the color specified, then calculates a percentage of the total grayscale presence in the image. |
GetPixelColorPercentOfImage(FileInfo, Int32, Color) | Analyzes each pixel of the spcified image, counts all the pixels that are of same color as the color specified, then calculates a percentage of the total grayscale presence in the image. |
GetPixelColorPercentOfImage(Image, Int32, Color) | Analyzes each pixel of the spcified image, counts all the pixels that are of same color as the color specified, then calculates a percentage of the total grayscale presence in the image. |
GetPixelColorPercentOfImage(String, Int32, Color) | Analyzes each pixel of the spcified image, counts all the pixels that are of same color as the color specified, then calculates a percentage of the total grayscale presence in the image. |
GetRealWindowRect(Form) | Gets the (non-client) Rectangle of a window. This method supports a borderless Windows 10 window. |
GetRealWindowRect(IntPtr) | Gets the (non-client) Rectangle of a window. This method supports a borderless Windows 10 window. |
GetRealWindowRect(IWin32Window) | Gets the (non-client) Rectangle of a window. This method supports a borderless Windows 10 window. |
GetSystemCursorId | Gets the (handle)identifier of the current system cursor. |
GetType | Gets the Type of the current instance. (Inherited from Object) |
IsAlphaBitmap(Bitmap) | Gets a value that determine whether the specified Bitmap has an alpha channel. |
IsAlphaBitmap(IntPtr) | Gets a value that determine whether the specified native hBitmap has an alpha channel. |
IsAlphaBitmap(SafeBitmapHandle) | Gets a value that determine whether the specified native hBitmap has an alpha channel. |
OverlayImages | Overlay a Image over another Image used as background. |
SystemCursorIdToCursor | Retrieves an equivalent Cursor from the specified SystemCursorId value. |
TakeScreenshotFromControl | Takes a screenshot of a Form. |
TakeScreenshotFromDesktop | Takes a screenshot of the desktop. |
TakeScreenshotFromForm | Takes a screenshot of a Form. |
TakeScreenshotFromObject | Takes a screenshot of an object in the screen. |
TakeScreenshotFromRegion(Rectangle, Boolean, PixelFormat) | Takes a screenshot of a screen region. |
TakeScreenshotFromRegion(Point, Size, Boolean, PixelFormat) | Takes a screenshot of a screen region. |
TakeScreenshotFromScreen | Takes a screenshot of the specified screen. |
TakeScreenshotFromWpfElement | Takes a screenshot of a WPF UIElement. |
ToString | Returns a string that represents the current object. (Inherited from Object) |
CanConvertTo |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
CanConvertToT |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
ConvertToT |
Converts an object to the specified target type.
If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions) |
ConvertToT |
Converts an object to the specified target type.
If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions) |
IsDisposable |
Determines whether the specified object is a disposable type
(i.e., it implements IDisposable interface).
(Defined by ObjectExtensions) |
Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
ThrowIfNullTException |
Throws the specified exception if the source object is null.
(Defined by ObjectExtensions) |