The FreeImageBitmap type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| FreeImageBitmap | Overloaded. |
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.
|
Properties
| Name | Description | |
|---|---|---|
| BackgroundColor |
Gets or sets the background color of this FreeImageBitmap.
In case the value is null, the background color is removed.
| |
| Bits |
Pointer to the data-bits of this FreeImageBitmap.
| |
| BlueMask |
Bit pattern describing the blue color component of a pixel in this FreeImageBitmap.
| |
| ColorDepth |
The size of one pixel in the bitmap in bits.
| |
| ColorsUsed |
Number of palette entries.
| |
| ColorType |
Investigates the color type of this FreeImageBitmap
by reading the bitmaps pixel bits and analysing them.
| |
| Comment |
Gets or sets the comment of this FreeImageBitmap.
Supported formats are JPEG, PNG and GIF.
| |
| DataSize |
Size of the bitmap in memory.
| |
| Flags |
Gets attribute flags for the pixel data of this FreeImageBitmap.
| |
| FrameCount |
Gets the number of frames in this FreeImageBitmap.
| |
| GreenMask |
Bit pattern describing the green color component of a pixel in this FreeImageBitmap.
| |
| HasBackgroundColor |
Gets whether this FreeImageBitmap has a file background color.
| |
| HasPalette |
Returns whether this FreeImageBitmap has a palette.
| |
| Height |
Height of the bitmap in pixel units.
| |
| HorizontalResolution |
Gets the horizontal resolution, in pixels per inch, of this FreeImageBitmap.
| |
| ICCProfile |
Gets the ICCProfile structure of this FreeImageBitmap.
| |
| ImageFormat |
Gets the format of the original image in case
this FreeImageBitmap was loaded from a file or stream.
| |
| ImageType |
Type of the bitmap.
| |
| Info |
Returns the BITMAPINFO structure of a this FreeImageBitmap.
| |
| InfoHeader |
Returns the BITMAPINFOHEADER structure of this FreeImageBitmap.
| |
| IsDisposed |
Gets whether this FreeImageBitmap has been disposed.
| |
| IsRGB555 |
Gets whether the bitmap is RGB 555.
| |
| IsRGB565 |
Gets whether the bitmap is RGB 565.
| |
| IsTransparent |
Gets or sets whether this FreeImageBitmap is transparent.
| |
| Line |
Width, in bytes, of this FreeImageBitmap.
| |
| Metadata |
Gets a new instance of a metadata representing class.
| |
| Palette |
Returns a structure that represents the palette of a FreeImage bitmap.
| |
| PhysicalDimension |
Gets the width and height of this FreeImageBitmap.
| |
| Pitch |
Returns the width of the bitmap in bytes, rounded to the next 32-bit boundary.
| |
| PixelFormat |
Gets the pixel format for this FreeImageBitmap.
| |
| PropertyIdList |
Gets IDs of the property items stored in this FreeImageBitmap.
| |
| PropertyItems |
Gets all the property items (pieces of metadata) stored in this FreeImageBitmap.
| |
| RawFormat |
Gets the format of this FreeImageBitmap.
| |
| RedMask |
Bit pattern describing the red color component of a pixel in this FreeImageBitmap.
| |
| Scan0 |
Pointer to the scanline of the top most pixel row of this FreeImageBitmap.
| |
| Size |
Gets the width and height, in pixels, of this FreeImageBitmap.
| |
| Stride |
Width, in bytes, of this FreeImageBitmap.
In case this FreeImageBitmap is top down Stride will be positive, else negative.
| |
| Tag |
Gets or sets an object that provides additional data about the FreeImageBitmap.
| |
| TransparencyCount |
Number of transparent colors in a palletised FreeImageBitmap.
| |
| TransparencyTable |
Get or sets transparency table of this FreeImageBitmap.
| |
| TransparentIndex |
Gets or sets the entry used as transparent color in this FreeImageBitmap.
Only works for 1-, 4- and 8-bpp.
| |
| UniqueColors |
The number of unique colors actually used by the bitmap. This might be different from
what ColorsUsed returns, which actually returns the palette size for palletised images.
Works for FIT_BITMAP type bitmaps only.
| |
| VerticalResolution |
Gets the vertical resolution, in pixels per inch, of this FreeImageBitmap.
| |
| Width |
Width of the bitmap in pixel units.
|