IBitmap Interface

IBitmap interface

Represents a bitmap image.

public interface IBitmap : IDisposable

Properties

NameDescription
ColorSpace { get; }Gets the color space ColorSpace of the bitmap image.
ColorTable { get; }Gets the color table of the bitmap image.
Format { get; }Gets the format of the bitmap image WebImageFormat.
Height { get; }Gets the height of the bitmap image.
HorizontalResolution { get; }Gets the horizontal resolution of the bitmap image.
VerticalResolution { get; }Gets the vertical resolution of the bitmap image.
Width { get; }Gets the width of the bitmap image.

Methods

NameDescription
ApplyOpacity(float)Applies the specified opacity to the bitmap image.
DrawBitmap(Rectangle, Rectangle, IBitmap)Draws the specified source rectangle of the given bitmap onto the specified destination rectangle of the current bitmap.
FillRectangle(Rectangle, IBrush)Fills the specified rectangle with the specified brush.
GetPixelsMap(bool, bool)Retrieves the pixel map representation of the bitmap image, optionally converting to monochrome and allowing transparency color conversion.
RotateFlip(RotateFlipType)Rotates and flips the bitmap image according to the specified rotation and flip type.
Save(Stream, WebImageFormat, int)Saves the bitmap image to the specified stream with the specified image format and quality.
SetTransparent(Color)Sets the specified color as transparent in the bitmap image.

See Also