名前 | 解説 | |
---|---|---|
AdjustLevels | オーバーロードされます。 Adjusts the levels of an image histogram.
The method maps the input range of values (blackPoint..whitePoint) to the output range (outputBlack..outputWhite) using the specified gamma correction (midtone). | |
AlphaBlend | Draws the source bitmap with the specified opacity into the current bitmap. | |
ApplyColorMatrix | Multiplies RGBA values of the GcBitmap by a 5x4 matrix. | |
ApplyEffect | Applies a graphic effect to an image or its portion in-place. | |
ApplyLicenseKey | Applies a license key to an instance of GcBitmap. | |
ApplyTransparencyMask | オーバーロードされます。 Applies a transparency mask to the current image or its portion. | |
AutoLevel | Modifies R, G, B color intensities such that the maximum range of values (0..255) is fully covered. | |
BitBlt | Performs a bit-block transfer of the color data corresponding to a rectangle of pixels from the specified source bitmap into the current bitmap. | |
CalculateOtsuThreshold | Calculates Otsu's threshold [0..255] for a grayscale image.
It is expected that the image is already converted to monochromatic gray. | |
Clear | オーバーロードされます。 Clears the GcBitmap with the specified color. | |
Clip | Creates a new GcBitmap with a fragment of the image. | |
Clone | オーバーロードされます。 Creates a new GcBitmap with a copy of the image. | |
CompositeAndBlend | Applies the algorithms of Porter Duff compositing and blending to the current bitmap (used as backdrop, destination) and the source bitmap. | |
ConvertFromPremultipliedAlpha | オーバーロードされます。 Makes the alpha channel not premultiplied in the color channels and sets the Premultiplied property to False. | |
ConvertToOpaque | オーバーロードされます。 Converts an image with transparent or semitransparent pixels to fully opaque with specified background color. | |
ConvertToPremultipliedAlpha | オーバーロードされます。 Premultiplies the color channels by the alpha channel and sets the Premultiplied property to True. | |
CreateGraphics | Creates an instance of the GcBitmapGraphics class. | |
CreateImage | オーバーロードされます。 Creates the image of the given size and resolution.
The content is not initialized and can contain any random data. If subsequent rendering is going to cover the whole surface of the bitmap, or if CreateGraphics will be called on the bitmap with a non-null background color, clearing it (which is a lengthy operation for large bitmaps) is not needed. If some areas of the bitmap are going to be left untouched, they must be cleared to avoid the possibility of random artifacts showing. | |
DiscardImage | Releases the internal image and clears all metadata. | |
Dispose | Clean up any resources being used. | |
EnsureRendererCreated | Creates a BitmapRenderer that allows drawing on the GcBitmap if it has not been created yet. | |
ExportColorChannel | Copies data from one color channel of the current GcBitmap to an existing GrayscaleBitmap of the same pixel size. | |
ExtractColors | Creates a sorted array of unique colors for the current image. | |
FlipRotate | Produces a flipped (horizontal or vertical) and/or rotated (by 90 degree increments) bitmap.
The source bitmap remains unchanged. | |
GenerateOctreePalette | Generates a palette for the image using the Octree quantizer algorithm.
The Alpha color channel is ignored. | |
GetContentRect | オーバーロードされます。 Returns the coordinates of a rectangle with colors different from background. | |
HasTransparentPixels | Determines whether the image contains transparent or semitransparent pixels.
It always returns false for an opaque image. | |
ImportColorChannel | Copies data from a GrayscaleBitmap to one color channel of the current GcBitmap of the same pixel size. | |
IsBlackAndWhite | Determines whether the image contains only black and white pixels. | |
IsGrayscale | Determines whether the image contains only opaque grayscale pixels. | |
Load | オーバーロードされます。 Loads the image from a stream. JPEG, PNG, WEBP, GIF, BMP, TIFF, ICO, JPEG 2000 formats are supported. | |
MergePalettes | Merges sorted arrays of unique colors in 32-bit ARGB format (returned from ExtractColors) | |
Resize | Creates a new GcBitmap with a resized image fragment. | |
SaveAsBmp | オーバーロードされます。 Saves the image into a Stream in BMP format. | |
SaveAsGif | オーバーロードされます。 Saves the image into a Stream in GIF format. | |
SaveAsIco | オーバーロードされます。 Saves the image into a Stream in ICO format. | |
SaveAsJpeg | オーバーロードされます。 Saves the image into a Stream in JPEG format with specified quality (from 0 to 100). | |
SaveAsPng | オーバーロードされます。 Saves the image into a Stream in PNG format. | |
SaveAsTiff | オーバーロードされます。 Saves the image into a Stream in TIFF format. | |
SaveAsWebp | オーバーロードされます。 Saves the image into a Stream in WEBP format. | |
SetAlphaTo255 | Updates the alpha channel of pixels to 255 (to make them opaque). | |
SetDpi | オーバーロードされます。 Changes the physical resolution of the image. | |
SetLicenseKey | Sets the license key. | |
ShrinkARGBFormat | オーバーロードされます。 Changes pixel format from 8 bits per channel to lower values with two-dimensional error diffusion. | |
ToBilevelBitmap | Creates a BilevelBitmap from the current GcBitmap.
This method does not perform any transformations of the color palette. It is expected that the source GcBitmap has already been converted to bi-level palette using some thresholding or dithering effects. The ToBilevelBitmap method just copies data from a specified color channel to a new instance of the BilevelBitmap class. | |
ToGrayscaleBitmap | Creates a GrayscaleBitmap from the current GcBitmap.
This method does not perform any transformations of the color palette. It is expected that the source GcBitmap has already been converted to grayscale palette using a GrayscaleEffect or something like that. Alternatively, you can use this method to extract individual channels of a color image without any prior conversion, and treat the resulting GrayscaleBitmap simply as a representation of some image data with 8 bits per pixel. The ToGrayscaleBitmap method just copies data from a specified color channel to a new instance of the GrayscaleBitmap class. If you need to copy some color channel to an existing instance of GrayscaleBitmap, use the ExportColorChannel method instead. | |
ToIndexed4bppBitmap | オーバーロードされます。 Creates an opaque Indexed4bppBitmap from the current image using the Octree quantizer algorithm. | |
ToIndexed8bppBitmap | オーバーロードされます。 Creates an opaque Indexed8bppBitmap from the current image using the Octree quantizer algorithm. | |
ToJpegStream | Saves the image into a Stream in JPEG format with specified quality (from 0 to 100). The returned stream should be disposed after usage. |