The FreeImageBitmap type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| AdjustBrightness |
Adjusts the brightness of a 8-, 24- or 32-bit image by a certain amount.
| |
| AdjustColors |
Adjusts an image's brightness, contrast and gamma as well as it may
optionally invert the image within a single operation.
| |
| AdjustContrast |
Adjusts the contrast of a 8-, 24- or 32-bit image by a certain amount.
| |
| AdjustCurve |
Perfoms an histogram transformation on a 8-, 24- or 32-bit image.
| |
| AdjustGamma |
Performs gamma correction on a 8-, 24- or 32-bit image.
| |
| ApplyColorMapping |
Applies color mapping for one or several colors on a 1-, 4- or 8-bit
palletized or a 16-, 24- or 32-bit high color image.
| |
| ApplyPaletteIndexMapping |
Applies palette index mapping for one or several indices
on a 1-, 4- or 8-bit palletized image.
| |
| Clone |
Creates a deep copy of this FreeImageBitmap.
| |
| CloneMetadataFrom | Overloaded. | |
| Composite |
This method composite a transparent foreground image against a single background color or
against a background image.
In case useBitmapBackground is false and applicationBackground
and bitmapBackGround
are null, a checkerboard will be used as background.
| |
| ConvertColorDepth |
Converts this FreeImageBitmap into a different color depth.
The parameter bpp specifies color depth, greyscale conversion
and palette reorder.
Adding the FICD_FORCE_GREYSCALE flag will first perform a convesion to greyscale. This can be done with any target color depth. Adding the FICD_REORDER_PALETTE flag will allow the algorithm to reorder the palette. This operation will not be performed to non-greyscale images to prevent data loss by mistake. | |
| ConvertType |
Converts this FreeImageBitmapFREE_IMAGE_TYPE to
type initializing a new instance.
In case source and destination type are the same, the operation fails.
An error message can be catched using the 'Message' event.
| |
| Copy | Overloaded. | |
| CreateICCProfile | Overloaded. | |
| CreateNewPropertyItem |
Returns a new instance of the PropertyItem class which
has no public accessible constructor.
| |
| Dispose | Overloaded. | |
| EnlargeCanvas | Overloaded. | |
| Equals |
Determines whether this and the specified instances are the same.
(Overrides Object..::.Equals(Object).) | |
| FillBackground | Overloaded. | |
| Finalize |
Frees all managed and unmanaged ressources.
(Overrides Object..::.Finalize()()().) | |
| FreeHbitmap |
Frees a bitmap handle.
| |
| FromFile | Overloaded. | |
| FromHbitmap | Overloaded. | |
| FromHicon |
Creates a FreeImageBitmap from a Windows handle to an icon.
| |
| FromResource |
Creates a FreeImageBitmap from the specified Windows resource.
| |
| FromStream | Overloaded. | |
| GetAdjustColorsLookupTable |
Creates a lookup table to be used with AdjustCurve() which
may adjusts brightness and contrast, correct gamma and invert the image with a
single call to AdjustCurve().
| |
| GetBounds |
Gets the bounds of this FreeImageBitmap in the specified unit.
| |
| GetChannel |
Retrieves the red, green, blue or alpha channel of a 24- or 32-bit image.
| |
| GetColorConvertedInstance |
Converts this FreeImageBitmap into a different color depth initializing
a new instance.
The parameter bpp specifies color depth, greyscale conversion
and palette reorder.
Adding the FICD_FORCE_GREYSCALE flag will first perform a convesion to greyscale. This can be done with any target color depth. Adding the FICD_REORDER_PALETTE flag will allow the algorithm to reorder the palette. This operation will not be performed to non-greyscale images to prevent data loss by mistake. | |
| GetComplexChannel |
Retrieves the real part, imaginary part, magnitude or phase of a complex image.
| |
| GetEnlargedInstance | Overloaded. | |
| GetHashCode |
Returns a hash code for this FreeImageBitmap structure.
(Overrides Object..::.GetHashCode()()().) | |
| GetHbitmap | Overloaded. | |
| GetHbitmapForDevice |
Creates a GDI bitmap object from this FreeImageBitmap with the same
color depth as the primary device.
| |
| GetHicon |
Returns the handle to an icon.
| |
| GetHistogram |
Computes the image histogram.
| |
| GetPixel |
Gets the Color of the specified pixel in this FreeImageBitmap.
| |
| GetPixelFormatSize |
Returns the color depth, in number of bits per pixel,
of the specified pixel format.
| |
| GetPropertyItem |
Gets the specified property item from this FreeImageBitmap.
| |
| GetQuantizedInstance | Overloaded. | |
| GetRotatedInstance | Overloaded. | |
| GetScaledInstance | Overloaded. | |
| GetScanline | Overloaded. | |
| GetScanlinePointer |
Returns a pointer to the specified scanline.
Due to FreeImage bitmaps are bottum up,
scanline 0 is the most bottom line of the image.
| |
| GetScanlines |
Returns a list of structures, representing the scanlines of this FreeImageBitmap.
Due to FreeImage bitmaps are bottum up, scanline 0 is the
bottom-most line of the image.
Each color depth has a different representing structure due to different memory layouts.
| |
| GetThumbnailImage | Overloaded. | |
| GetTypeConvertedInstance |
Converts this FreeImageBitmapFreeImageBitmap to type.
In case source and destination type are the same, the operation fails.
An error message can be catched using the 'Message' event.
| |
| Invert |
Inverts each pixel data.
| |
| IsAlphaPixelFormat |
Returns a value that indicates whether the pixel format for this FreeImageBitmap contains alpha information.
| |
| IsCanonicalPixelFormat |
Returns a value that indicates whether the pixel format is 32 bits per pixel.
| |
| IsExtendedPixelFormat |
Returns a value that indicates whether the pixel format is 64 bits per pixel.
| |
| JPEGCrop | Overloaded. | |
| JPEGTransform |
Performs a lossless rotation or flipping on a JPEG file.
| |
| LockBits | Overloaded. | |
| LookupSVGColor |
Converts a SVG color name into a corresponding RGB value.
| |
| LookupX11Color |
Converts a X11 color name into a corresponding RGB value.
| |
| MakeTransparent | Overloaded. | |
| MultigridPoissonSolver |
Solves a Poisson equation, remap result pixels to [0..1] and returns the solution.
| |
| Paste | Overloaded. | |
| PreMultiplyWithAlpha |
Applies the alpha value of each pixel to its color components.
The aplha value stays unchanged.
Only works with 32-bits color depth.
| |
| Quantize | Overloaded. | |
| RemovePropertyItem |
Removes the specified property item from this FreeImageBitmap.
| |
| Rescale | Overloaded. | |
| Rotate | Overloaded. | |
| RotateFlip |
This method rotates, flips, or rotates and flips this FreeImageBitmap.
| |
| Save | Overloaded. | |
| SaveAdd | Overloaded. | |
| SelectActiveFrame |
Selects the frame specified by the index.
| |
| SetChannel |
Insert a 8-bit dib into a 24- or 32-bit image.
Both images must have to same width and height.
| |
| SetComplexChannel |
Set the real or imaginary part of a complex image.
Both images must have to same width and height.
| |
| SetPixel |
Sets the Color of the specified pixel in this FreeImageBitmap.
| |
| SetResolution |
Sets the resolution for this FreeImageBitmap.
| |
| SwapColors |
Swaps two specified colors on a 1-, 4- or 8-bit palletized
or a 16-, 24- or 32-bit high color image.
| |
| SwapPaletteIndices |
Swaps two specified palette indices on a 1-, 4- or 8-bit palletized image.
| |
| TmoDrago03 |
Converts a High Dynamic Range image to a 24-bit RGB image using a global
operator based on logarithmic compression of luminance values, imitating
the human response to light.
| |
| TmoFattal02 |
Apply the Gradient Domain High Dynamic Range Compression to a RGBF image and convert to 24-bit RGB.
| |
| TmoReinhard05 |
Converts a High Dynamic Range image to a 24-bit RGB image using a global operator inspired
by photoreceptor physiology of the human visual system.
| |
| ToBitmap |
Converts this FreeImageBitmap instance to a Bitmap instance.
| |
| UnlockBits |
This function is not yet implemented.
|
Operators
| Name | Description | |
|---|---|---|
| Equality |
Determines whether two specified FreeImageBitmap objects have the same value.
| |
| Explicit | Overloaded. | |
| Implicit | Overloaded. | |
| Inequality |
Determines whether two specified FreeImageBitmap objects have different values.
|