FreeImageBitmap Class

FreeImage.NET

FreeImageBitmap Class
Encapsulates a FreeImage-bitmap.
Inheritance Hierarchy
SystemObject  SystemMarshalByRefObject
    FreeImageAPIFreeImageBitmap

Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
[SerializableAttribute]
public class FreeImageBitmap : MarshalByRefObject, 
	ICloneable, IDisposable, IEnumerable, ISerializable

The FreeImageBitmap type exposes the following members.

Constructors
  NameDescription
Protected methodFreeImageBitmap
Initializes a new instance of the FreeImageBitmap class.
Public methodFreeImageBitmap(Bitmap)
Initializes a new instance of the FreeImageBitmap class bases on the specified image.
Public methodFreeImageBitmap(Image)
Initializes a new instance of the FreeImageBitmap class bases on the specified image.
Public methodFreeImageBitmap(Stream)
Initializes a new instance of the FreeImageBitmap class bases on the specified stream.
Public methodFreeImageBitmap(String)
Initializes a new instance of the FreeImageBitmap class bases on the specified file.
Protected methodFreeImageBitmap(FIBITMAP)
Initializes a new instance of the FreeImageBitmap class. For internal use only.
Public methodFreeImageBitmap(FreeImageBitmap)
Initializes a new instance of the FreeImageBitmap class bases on the specified image.
Public methodFreeImageBitmap(Bitmap, Size)
Initializes a new instance of the FreeImageBitmap class bases on the specified image with the specified size.
Public methodFreeImageBitmap(Image, Size)
Initializes a new instance of the FreeImageBitmap class bases on the specified image with the specified size.
Public methodFreeImageBitmap(Int32, Int32)
Initializes a new instance of the FreeImageBitmap class bases on the specified size.
Public methodFreeImageBitmap(Stream, FREE_IMAGE_FORMAT)
Initializes a new instance of the FreeImageBitmap class bases on the specified stream in the specified format.
Public methodFreeImageBitmap(Stream, FREE_IMAGE_LOAD_FLAGS)
Initializes a new instance of the FreeImageBitmap class bases on the specified stream with the specified loading flags.
Public methodFreeImageBitmap(Stream, Boolean)
Initializes a new instance of the FreeImageBitmap class bases on the specified stream.
Public methodFreeImageBitmap(SerializationInfo, StreamingContext)
Initializes a new instance of the FreeImageBitmap class.
Public methodFreeImageBitmap(String, FREE_IMAGE_FORMAT)
Initializes a new instance of the FreeImageBitmap class bases on the specified file in the specified format.
Public methodFreeImageBitmap(String, FREE_IMAGE_LOAD_FLAGS)
Initializes a new instance of the FreeImageBitmap class bases on the specified file with the specified loading flags.
Public methodFreeImageBitmap(String, Boolean)
Initializes a new instance of the FreeImageBitmap class bases on the specified file.
Public methodFreeImageBitmap(Type, String)
Initializes a new instance of the FreeImageBitmap class bases on the specified resource.
Public methodFreeImageBitmap(FreeImageBitmap, Size)
Initializes a new instance of the FreeImageBitmap class bases on the specified image with the specified size.
Public methodFreeImageBitmap(Bitmap, Int32, Int32)
Initializes a new instance of the FreeImageBitmap class bases on the specified image with the specified size.
Public methodFreeImageBitmap(Image, Int32, Int32)
Initializes a new instance of the FreeImageBitmap class bases on the specified image with the specified size.
Public methodFreeImageBitmap(Int32, Int32, FREE_IMAGE_TYPE)
Initializes a new instance of the FreeImageBitmap class bases on the specified size and type. Only non standard bitmaps are supported.
Public methodFreeImageBitmap(Int32, Int32, Graphics)
Initializes a new instance of the FreeImageBitmap class bases on the specified size and with the resolution of the specified Graphics object.
Public methodFreeImageBitmap(Int32, Int32, PixelFormat)
Initializes a new instance of the FreeImageBitmap class bases on the specified size and format.
Public methodFreeImageBitmap(Stream, FREE_IMAGE_FORMAT, FREE_IMAGE_LOAD_FLAGS)
Initializes a new instance of the FreeImageBitmap class bases on the specified stream in the specified format with the specified loading flags.
Public methodFreeImageBitmap(String, FREE_IMAGE_FORMAT, FREE_IMAGE_LOAD_FLAGS)
Initializes a new instance of the FreeImageBitmap class bases on the specified file in the specified format with the specified loading flags.
Public methodFreeImageBitmap(FreeImageBitmap, Int32, Int32)
Initializes a new instance of the FreeImageBitmap class bases on the specified image with the specified size.
Public methodFreeImageBitmap(Int32, Int32, Int32, PixelFormat, Byte)
Initializes a new instance of the FreeImageBitmap class bases on the specified size, pixel format and pixel data.
Public methodFreeImageBitmap(Int32, Int32, Int32, PixelFormat, IntPtr)
Initializes a new instance of the FreeImageBitmap class bases on the specified size, pixel format and pixel data.
Public methodFreeImageBitmap(Int32, Int32, Int32, Int32, FREE_IMAGE_TYPE, Byte)
Initializes a new instance of the FreeImageBitmap class bases on the specified size, pixel format and pixel data.
Public methodFreeImageBitmap(Int32, Int32, Int32, Int32, FREE_IMAGE_TYPE, IntPtr)
Initializes a new instance of the FreeImageBitmap class bases on the specified size, pixel format and pixel data.
Top
Properties
  NameDescription
Public propertyBackgroundColor
Gets or sets the background color of this FreeImageBitmap. In case the value is null, the background color is removed.
Public propertyBits
Pointer to the data-bits of this FreeImageBitmap.
Public propertyBlueMask
Bit pattern describing the blue color component of a pixel in this FreeImageBitmap.
Public propertyColorDepth
The size of one pixel in the bitmap in bits.
Public propertyColorsUsed
Number of palette entries.
Public propertyColorType
Investigates the color type of this FreeImageBitmap by reading the bitmaps pixel bits and analysing them.
Public propertyComment
Gets or sets the comment of this FreeImageBitmap. Supported formats are JPEG, PNG and GIF.
Public propertyDataSize
Size of the bitmap in memory.
Public propertyFlags
Gets attribute flags for the pixel data of this FreeImageBitmap.
Public propertyFrameCount
Gets the number of frames in this FreeImageBitmap.
Public propertyGreenMask
Bit pattern describing the green color component of a pixel in this FreeImageBitmap.
Public propertyHasBackgroundColor
Gets whether this FreeImageBitmap has a file background color.
Public propertyHasPalette
Returns whether this FreeImageBitmap has a palette.
Public propertyHeight
Height of the bitmap in pixel units.
Public propertyHorizontalResolution
Gets the horizontal resolution, in pixels per inch, of this FreeImageBitmap.
Public propertyICCProfile
Gets the ICCProfile structure of this FreeImageBitmap.
Public propertyImageFormat
Gets the format of the original image in case this FreeImageBitmap was loaded from a file or stream.
Public propertyImageType
Type of the bitmap.
Public propertyInfo
Returns the BITMAPINFO structure of a this FreeImageBitmap.
Public propertyInfoHeader
Returns the BITMAPINFOHEADER structure of this FreeImageBitmap.
Public propertyIsDisposed
Gets whether this FreeImageBitmap has been disposed.
Public propertyIsRGB555
Gets whether the bitmap is RGB 555.
Public propertyIsRGB565
Gets whether the bitmap is RGB 565.
Public propertyIsTransparent
Gets or sets whether this FreeImageBitmap is transparent.
Public propertyLine
Width, in bytes, of this FreeImageBitmap.
Public propertyMetadata
Gets a new instance of a metadata representing class.
Public propertyPalette
Returns a structure that represents the palette of a FreeImage bitmap.
Public propertyPhysicalDimension
Gets the width and height of this FreeImageBitmap.
Public propertyPitch
Returns the width of the bitmap in bytes, rounded to the next 32-bit boundary.
Public propertyPixelFormat
Gets the pixel format for this FreeImageBitmap.
Public propertyPropertyIdList
Gets IDs of the property items stored in this FreeImageBitmap.
Public propertyPropertyItems
Gets all the property items (pieces of metadata) stored in this FreeImageBitmap.
Public propertyRawFormat
Gets the format of this FreeImageBitmap.
Public propertyRedMask
Bit pattern describing the red color component of a pixel in this FreeImageBitmap.
Public propertyScan0
Pointer to the scanline of the top most pixel row of this FreeImageBitmap.
Public propertySize
Gets the width and height, in pixels, of this FreeImageBitmap.
Public propertyStride
Width, in bytes, of this FreeImageBitmap. In case this FreeImageBitmap is top down Stride will be positive, else negative.
Public propertyTag
Gets or sets an object that provides additional data about the FreeImageBitmap.
Public propertyTransparencyCount
Number of transparent colors in a palletised FreeImageBitmap.
Public propertyTransparencyTable
Get or sets transparency table of this FreeImageBitmap.
Public propertyTransparentIndex
Gets or sets the entry used as transparent color in this FreeImageBitmap. Only works for 1-, 4- and 8-bpp.
Public propertyUniqueColors
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.
Public propertyVerticalResolution
Gets the vertical resolution, in pixels per inch, of this FreeImageBitmap.
Public propertyWidth
Width of the bitmap in pixel units.
Top
Methods
  NameDescription
Public methodAdjustBrightness
Adjusts the brightness of a 8-, 24- or 32-bit image by a certain amount.
Public methodAdjustColors
Adjusts an image's brightness, contrast and gamma as well as it may optionally invert the image within a single operation.
Public methodAdjustContrast
Adjusts the contrast of a 8-, 24- or 32-bit image by a certain amount.
Public methodAdjustCurve
Perfoms an histogram transformation on a 8-, 24- or 32-bit image.
Public methodAdjustGamma
Performs gamma correction on a 8-, 24- or 32-bit image.
Public methodApplyColorMapping
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.
Public methodApplyPaletteIndexMapping
Applies palette index mapping for one or several indices on a 1-, 4- or 8-bit palletized image.
Public methodClone
Creates a deep copy of this FreeImageBitmap.
Public methodCloneMetadataFrom(FreeImageBitmap)
Copies the metadata from another FreeImageBitmap.
Public methodCloneMetadataFrom(FreeImageBitmap, FREE_IMAGE_METADATA_COPY)
Copies the metadata from another FreeImageBitmap using the provided options.
Public methodComposite
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.
Public methodConvertColorDepth
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.

Public methodConvertType
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.
Public methodCopy(Rectangle)
Copy a sub part of this FreeImageBitmap.
Public methodCopy(Int32, Int32, Int32, Int32)
Copy a sub part of this FreeImageBitmap.
Public methodCreateICCProfile(Byte)
Creates a new ICC-Profile.
Public methodCreateICCProfile(Byte, Int32)
Creates a new ICC-Profile.
Public methodStatic memberCreateNewPropertyItem
Returns a new instance of the PropertyItem class which has no public accessible constructor.
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodCreateView
Creates a dynamic read/write view into a FreeImage bitmap.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEnlargeCanvasT(Int32, Int32, Int32, Int32, NullableT)
Enlarges or shrinks this FreeImageBitmap selectively per side and fills newly added areas with the specified background color. See EnlargeCanvasT(FIBITMAP, Int32, Int32, Int32, Int32, NullableT, FREE_IMAGE_COLOR_OPTIONS) for further details.
Public methodEnlargeCanvasT(Int32, Int32, Int32, Int32, NullableT, FREE_IMAGE_COLOR_OPTIONS)
Enlarges or shrinks this FreeImageBitmap selectively per side and fills newly added areas with the specified background color. See EnlargeCanvasT(FIBITMAP, Int32, Int32, Int32, Int32, NullableT, FREE_IMAGE_COLOR_OPTIONS) for further details.
Public methodEquals
Determines whether this and the specified instances are the same.
(Overrides ObjectEquals(Object).)
Public methodFillBackgroundT(T)
Sets all pixels of this FreeImageBitmap to the specified color. See FillBackgroundT(FIBITMAP, T, FREE_IMAGE_COLOR_OPTIONS) for further details.
Public methodFillBackgroundT(T, FREE_IMAGE_COLOR_OPTIONS)
Sets all pixels of this FreeImageBitmap to the specified color. See FillBackgroundT(FIBITMAP, T, FREE_IMAGE_COLOR_OPTIONS) for further details.
Protected methodFinalize
Frees all managed and unmanaged ressources.
(Overrides ObjectFinalize.)
Public methodStatic memberFreeHbitmap
Frees a bitmap handle.
Public methodStatic memberFromFile(String)
Creates a FreeImageBitmap from the specified file.
Public methodStatic memberFromFile(String, Boolean)
Creates a FreeImageBitmap from the specified file using embedded color management information in that file.
Public methodStatic memberFromHbitmap(IntPtr)
Creates a FreeImageBitmap from a handle to a GDI bitmap.
Public methodStatic memberFromHbitmap(IntPtr, IntPtr)
Creates a FreeImageBitmap from a handle to a GDI bitmap and a handle to a GDI palette.
Public methodStatic memberFromHicon
Creates a FreeImageBitmap from a Windows handle to an icon.
Public methodStatic memberFromResource
Creates a FreeImageBitmap from the specified Windows resource.
Public methodStatic memberFromStream(Stream)
Creates a FreeImageBitmap from the specified data stream.
Public methodStatic memberFromStream(Stream, Boolean)
Creates a FreeImageBitmap from the specified data stream.
Public methodStatic memberFromStream(Stream, Boolean, Boolean)
Creates a FreeImageBitmap from the specified data stream.
Public methodStatic memberGetAdjustColorsLookupTable
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().
Public methodGetBounds
Gets the bounds of this FreeImageBitmap in the specified unit.
Public methodGetChannel
Retrieves the red, green, blue or alpha channel of a 24- or 32-bit image.
Public methodGetColorConvertedInstance
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.

Public methodGetComplexChannel
Retrieves the real part, imaginary part, magnitude or phase of a complex image.
Public methodGetEnlargedInstanceT(Int32, Int32, Int32, Int32, NullableT)
Enlarges or shrinks this FreeImageBitmap selectively per side and fills newly added areas with the specified background color returning a new instance. See EnlargeCanvasT(FIBITMAP, Int32, Int32, Int32, Int32, NullableT, FREE_IMAGE_COLOR_OPTIONS) for further details.
Public methodGetEnlargedInstanceT(Int32, Int32, Int32, Int32, NullableT, FREE_IMAGE_COLOR_OPTIONS)
Enlarges or shrinks this FreeImageBitmap selectively per side and fills newly added areas with the specified background color returning a new instance. See EnlargeCanvasT(FIBITMAP, Int32, Int32, Int32, Int32, NullableT, FREE_IMAGE_COLOR_OPTIONS) for further details.
Public methodGetHashCode
Returns a hash code for this FreeImageBitmap structure.
(Overrides ObjectGetHashCode.)
Public methodGetHbitmap
Creates a GDI bitmap object from this FreeImageBitmap.
Public methodGetHbitmap(Color)
Creates a GDI bitmap object from this FreeImageBitmap.
Public methodGetHbitmapForDevice
Creates a GDI bitmap object from this FreeImageBitmap with the same color depth as the primary device.
Public methodGetHicon
Returns the handle to an icon.
Public methodGetHistogram
Computes the image histogram.
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetPixel
Gets the Color of the specified pixel in this FreeImageBitmap.
Public methodStatic memberGetPixelFormatSize
Returns the color depth, in number of bits per pixel, of the specified pixel format.
Public methodGetPropertyItem
Gets the specified property item from this FreeImageBitmap.
Public methodGetQuantizedInstance(FREE_IMAGE_QUANTIZE, Int32)
Quantizes this FreeImageBitmap from 24 bit, using the specified algorithm initializing a new 8 bit instance with the specified paletteSize.
Public methodGetQuantizedInstance(FREE_IMAGE_QUANTIZE, Int32, Palette)
Quantizes this FreeImageBitmap from 24 bit, using the specified algorithm and reservePalette initializing a new 8 bit instance with the specified paletteSize.
Public methodGetQuantizedInstance(FREE_IMAGE_QUANTIZE, Int32, Int32, Palette)
Quantizes this FreeImageBitmap from 24 bit, using the specified algorithm and up to reserveSize entries from reservePalette initializing a new 8 bit instance with the specified paletteSize.
Public methodGetQuantizedInstance(FREE_IMAGE_QUANTIZE, Int32, Int32, RGBQUAD)
Quantizes this FreeImageBitmap from 24 bit, using the specified algorithm and up to reserveSize entries from reservePalette initializing a new 8 bit instance with the specified paletteSize.
Public methodGetRotatedInstance(Double)
Rotates this FreeImageBitmap by the specified angle initializing a new instance. For 1- and 4-bit images, rotation is limited to angles whose value is an integer multiple of 90.
Public methodGetRotatedInstance(Double, Double, Double, Double, Double, Boolean)
This method performs a rotation and / or translation of an 8-bit greyscale, 24- or 32-bit image, using a 3rd order (cubic) B-Spline initializing a new instance.
Public methodGetRotatedInstanceT(Double, NullableT)
Rotates this FreeImageBitmap by the specified angle initializing a new instance. For 1- and 4-bit images, rotation is limited to angles whose value is an integer multiple of 90.
Public methodGetScaledInstance(Size, FREE_IMAGE_FILTER)
Rescales this FreeImageBitmap to the specified size using the specified filter initializing a new instance.
Public methodGetScaledInstance(Int32, Int32, FREE_IMAGE_FILTER)
Rescales this FreeImageBitmap to the specified size using the specified filter initializing a new instance.
Public methodCode exampleGetScanline(Int32)
Returns an instance of ScanlineT, representing the scanline specified by scanline of this FreeImageBitmap. Since FreeImage bitmaps are always bottum up aligned, keep in mind that scanline 0 is the bottom-most line of the image.
Public methodCode exampleGetScanlineT(Int32)
Returns an instance of ScanlineT, representing the scanline specified by scanline of this FreeImageBitmap. Since FreeImage bitmaps are always bottum up aligned, keep in mind that scanline 0 is the bottom-most line of the image.
Public methodGetScanlinePointer
Returns a pointer to the specified scanline. Due to FreeImage bitmaps are bottum up, scanline 0 is the most bottom line of the image.
Public methodGetScanlines
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.
Public methodGetThumbnailImage(Int32, Boolean) Obsolete.
Returns a thumbnail for this FreeImageBitmap, keeping aspect ratio. maxPixelSize defines the maximum width or height of the thumbnail.
Public methodGetThumbnailImage(Int32, Int32, ImageGetThumbnailImageAbort, IntPtr)
Returns a thumbnail for this FreeImageBitmap.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetTypeConvertedInstance
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.
Public methodGetWICMetadataHandler
Gets a WICMetadataHandler (Windows Imaging Component Metadata Handler) for this FreeImageBitmap.
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodInvert
Inverts each pixel data.
Public methodStatic memberIsAlphaPixelFormat
Returns a value that indicates whether the pixel format for this FreeImageBitmap contains alpha information.
Public methodStatic memberIsCanonicalPixelFormat
Returns a value that indicates whether the pixel format is 32 bits per pixel.
Public methodStatic memberIsExtendedPixelFormat
Returns a value that indicates whether the pixel format is 64 bits per pixel.
Public methodStatic memberJPEGCrop(String, String, Rectangle)
Performs a lossless crop on a JPEG file.
Public methodStatic memberJPEGCrop(String, String, Int32, Int32, Int32, Int32)
Performs a lossless crop on a JPEG file.
Public methodStatic memberJPEGTransform
Performs a lossless rotation or flipping on a JPEG file.
Public methodLockBits(Rectangle, ImageLockMode, PixelFormat)
This function is not yet implemented.
Public methodLockBits(Rectangle, ImageLockMode, PixelFormat, BitmapData)
This function is not yet implemented.
Public methodStatic memberLookupSVGColor
Converts a SVG color name into a corresponding RGB value.
Public methodStatic memberLookupX11Color
Converts a X11 color name into a corresponding RGB value.
Public methodMakeThumbnail
Returns a thumbnail for this FreeImageBitmap, keeping aspect ratio. maxPixelSize defines the maximum width or height of the thumbnail.
Public methodMakeTransparent
Makes the default transparent color transparent for this FreeImageBitmap.
Public methodMakeTransparent(Color)
Makes the specified color transparent for this FreeImageBitmap.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Public methodMultigridPoissonSolver
Solves a Poisson equation, remap result pixels to [0..1] and returns the solution.
Public methodPaste(FreeImageBitmap, Point, Int32)
Alpha blend or combine a sub part image with tthis FreeImageBitmap. The bit depth of bitmap must be greater than or equal to the bit depth this instance.
Public methodPaste(FreeImageBitmap, Int32, Int32, Int32)
Alpha blend or combine a sub part image with this FreeImageBitmap. The bit depth of bitmap must be greater than or equal to the bit depth this instance.
Public methodPreMultiplyWithAlpha
Applies the alpha value of each pixel to its color components. The aplha value stays unchanged. Only works with 32-bits color depth.
Public methodQuantize(FREE_IMAGE_QUANTIZE, Int32)
Quantizes this FreeImageBitmap from 24 bit to 8bit creating a new palette with the specified paletteSize using the specified algorithm.
Public methodQuantize(FREE_IMAGE_QUANTIZE, Int32, Palette)
Quantizes this FreeImageBitmap from 24 bit to 8bit creating a new palette with the specified paletteSize using the specified algorithm and the specified reservePalette up to the specified paletteSize.
Public methodQuantize(FREE_IMAGE_QUANTIZE, Int32, Int32, Palette)
Quantizes this FreeImageBitmap from 24 bit to 8bit creating a new palette with the specified paletteSize using the specified algorithm and the specified reservePalette up to the specified paletteSize.
Public methodQuantize(FREE_IMAGE_QUANTIZE, Int32, Int32, RGBQUAD)
Quantizes this FreeImageBitmap from 24 bit to 8bit creating a new palette with the specified paletteSize using the specified algorithm and the specified reservePalette up to the specified paletteSize.
Public methodRemovePropertyItem
Removes the specified property item from this FreeImageBitmap.
Public methodRescale(Size, FREE_IMAGE_FILTER)
Rescales this FreeImageBitmap to the specified size using the specified filter.
Public methodRescale(Int32, Int32, FREE_IMAGE_FILTER)
Rescales this FreeImageBitmap to the specified size using the specified filter.
Public methodRescaleRect
Public methodRotate(Double)
This method rotates a 1-, 4-, 8-bit greyscale or a 24-, 32-bit color image by means of 3 shears. For 1- and 4-bit images, rotation is limited to angles whose value is an integer multiple of 90.
Public methodRotate(Double, Double, Double, Double, Double, Boolean)
This method performs a rotation and / or translation of an 8-bit greyscale, 24- or 32-bit image, using a 3rd order (cubic) B-Spline.
Public methodRotateT(Double, NullableT)
This method rotates a 1-, 4-, 8-bit greyscale or a 24-, 32-bit color image by means of 3 shears. For 1- and 4-bit images, rotation is limited to angles whose value is an integer multiple of 90.
Public methodRotateFlip
This method rotates, flips, or rotates and flips this FreeImageBitmap.
Public methodSave(String)
Saves this FreeImageBitmap to the specified file.
Public methodSave(Stream, FREE_IMAGE_FORMAT)
Saves this FreeImageBitmap to the specified stream in the specified format.
Public methodSave(String, FREE_IMAGE_FORMAT)
Saves this FreeImageBitmap to the specified file in the specified format.
Public methodSave(Stream, FREE_IMAGE_FORMAT, FREE_IMAGE_SAVE_FLAGS)
Saves this FreeImageBitmap to the specified stream in the specified format using the specified saving flags.
Public methodSave(String, FREE_IMAGE_FORMAT, FREE_IMAGE_SAVE_FLAGS)
Saves this FreeImageBitmap to the specified file in the specified format using the specified saving flags.
Public methodSaveAdd
Adds a frame to the file specified in a previous call to the Save(String) method.
Public methodSaveAdd(Int32)
Adds a frame to the file specified in a previous call to the Save(String) method.
Public methodSaveAdd(String)
Adds a frame to the file specified.
Public methodSaveAdd(FreeImageBitmap)
Adds a frame to the file specified in a previous call to the Save(String) method.
Public methodSaveAdd(String, Int32)
Adds a frame to the file specified.
Public methodSaveAdd(FreeImageBitmap, Int32)
Adds a frame to the file specified in a previous call to the Save(String) method.
Public methodSaveAdd(String, FREE_IMAGE_FORMAT, FREE_IMAGE_LOAD_FLAGS, FREE_IMAGE_SAVE_FLAGS)
Adds a frame to the file specified using the specified parameters.
Public methodStatic memberSaveAdd(String, FreeImageBitmap, FREE_IMAGE_FORMAT, FREE_IMAGE_LOAD_FLAGS, FREE_IMAGE_SAVE_FLAGS)
Adds a specified frame to the file specified using the specified parameters. Use this method to save selected frames from an to a multiple-frame image.
Public methodSaveAdd(String, Int32, FREE_IMAGE_FORMAT, FREE_IMAGE_LOAD_FLAGS, FREE_IMAGE_SAVE_FLAGS)
Adds a frame to the file specified using the specified parameters.
Public methodStatic memberSaveAdd(String, FreeImageBitmap, Int32, FREE_IMAGE_FORMAT, FREE_IMAGE_LOAD_FLAGS, FREE_IMAGE_SAVE_FLAGS)
Adds a specified frame to the file specified using the specified parameters. Use this method to save selected frames from an image to a multiple-frame image.
Public methodSelectActiveFrame
Selects the frame specified by the index.
Public methodSetChannel
Insert a 8-bit dib into a 24- or 32-bit image. Both images must have to same width and height.
Public methodSetComplexChannel
Set the real or imaginary part of a complex image. Both images must have to same width and height.
Public methodSetPixel
Sets the Color of the specified pixel in this FreeImageBitmap.
Public methodSetResolution
Sets the resolution for this FreeImageBitmap.
Public methodSwapColors
Swaps two specified colors on a 1-, 4- or 8-bit palletized or a 16-, 24- or 32-bit high color image.
Public methodSwapPaletteIndices
Swaps two specified palette indices on a 1-, 4- or 8-bit palletized image.
Public methodTmoDrago03
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.
Public methodTmoFattal02
Apply the Gradient Domain High Dynamic Range Compression to a RGBF image and convert to 24-bit RGB.
Public methodTmoReinhard05
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.
Public methodToBitmap
Converts this FreeImageBitmap instance to a Bitmap instance.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnlockBits
This function is not yet implemented.
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Determines whether two specified FreeImageBitmap objects have the same value.
Public operatorStatic member(Bitmap to FreeImageBitmap)
Converts a Bitmap instance to a FreeImageBitmap instance.
Public operatorStatic member(FreeImageBitmap to Bitmap)
Converts a FreeImageBitmap instance to a Bitmap instance.
Public operatorStatic memberInequality
Determines whether two specified FreeImageBitmap objects have different values.
Top
See Also