FreeImage.NET Class Library Reference
GifInformation Class |
Provides additional information specific for GIF files. This class cannot be inherited.
Inheritance Hierarchy
SystemObject FreeImageAPI.MetadataMetadataModel
FreeImageAPI.MetadataMDM_ANIMATION
FreeImageAPI.MetadataGifInformation
FreeImageAPI.MetadataMDM_ANIMATION
FreeImageAPI.MetadataGifInformation
Namespace: FreeImageAPI.Metadata
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public class GifInformation : MDM_ANIMATION
The GifInformation type exposes the following members.
Constructors
Name | Description | |
---|---|---|
GifInformation |
Initializes a new instance of the GifInformation class
with the specified FreeImageBitmap.
|
Properties
Name | Description | |
---|---|---|
Count |
Returns the number of metadata tags this instance represents.
(Inherited from MetadataModel.) | |
DisposalMethod |
Gets or sets this frame's disposal method. Generally, this method defines, how to
remove or replace a frame when the next frame has to be drawn. (Inherited from MDM_ANIMATION.) | |
Exists |
Returns whether this model exists in the bitmaps metadata structure.
(Inherited from MetadataModel.) | |
FrameLeft |
Gets or sets the horizontal offset within the logical canvas area, this frame is to be displayed at.
(Inherited from MDM_ANIMATION.) | |
FrameTime |
Gets or sets the amout of time in milliseconds this frame is to be displayed.
(Inherited from MDM_ANIMATION.) | |
FrameTop |
Gets or sets the vertical offset within the logical canvas area, this frame is to be displayed at.
(Inherited from MDM_ANIMATION.) | |
GlobalPalette |
Gets or sets the global palette of the GIF image.
(Inherited from MDM_ANIMATION.) | |
Interlaced |
Gets or sets a value indicating whether the image is interlaced.
(Inherited from MDM_ANIMATION.) | |
Item |
Returns the metadata tag at the given index. This operation is slow when accessing all tags.
(Inherited from MetadataModel.) | |
List |
Returns a list of all metadata tags this instance represents.
(Inherited from MetadataModel.) | |
LogicalHeight |
Gets or sets the height of the entire canvas area, that each page is displayed in.
(Inherited from MDM_ANIMATION.) | |
LogicalWidth |
Gets or sets the width of the entire canvas area, that each page is displayed in.
(Inherited from MDM_ANIMATION.) | |
LoopCount |
Gets or sets the number of replays for the animation.
Use 0 (zero) to specify an infinte number of replays.
(Inherited from MDM_ANIMATION.) | |
Model |
Retrieves the datamodel that this instance represents.
(Inherited from MDM_ANIMATION.) | |
NoLocalPalette |
Gets or sets a flag to supress saving the dib's attached palette
(making it use the global palette). The local palette is the palette used by a page.
(Inherited from MDM_ANIMATION.) | |
UseGlobalPalette |
Gets or sets a value indicating whether this frame uses the
GIF image's global palette. If set to false, this
frame uses its local palette.
|
Methods
Name | Description | |
---|---|---|
AddTag(MetadataTag) |
Adds new tag to the bitmap or updates its value in case it already exists.
Key will be used as key.
(Inherited from MetadataModel.) | |
AddTag(IEnumerableMetadataTag) |
Adds a list of tags to the bitmap or updates their values in case they already exist.
Key will be used as key.
(Inherited from MetadataModel.) | |
CreateGlobalPalette |
Creates a global palette for the GIF image, intialized with all entries of the
current local palette.
The property UseGlobalPalette will be set to true when
invoking this method. This effectively enables the newly created global palette.
| |
CreateGlobalPalette(Int32) |
Creates a global palette for the GIF image with the specified size, intialized
with the first size entries of the current local palette.
The property UseGlobalPalette will be set to true when
invoking this method. This effectively enables the newly created global palette.
| |
CreateGlobalPalette(Palette) |
Creates a global palette for the GIF image, intialized with the entries
of the specified palette.
The property UseGlobalPalette will be set to true when
invoking this method. This effectively enables the newly created global palette.
| |
CreateGlobalPalette(Palette, Int32) |
Creates a global palette for the GIF image with the specified size, intialized
with the first size entries of the specified palette.
The property UseGlobalPalette will be set to true when
invoking this method. This effectively enables the newly created global palette.
| |
DestoryModel |
Destroys the metadata model
which will remove all tags of this model from the bitmap.
(Inherited from MetadataModel.) | |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetEnumerator |
Retrieves an object that can iterate through the individual MetadataTags in this MetadataModel.
(Inherited from MetadataModel.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetTag |
Returns the specified metadata tag.
(Inherited from MetadataModel.) | |
GetTagArrayT |
Returns an array containing the data of the specified tag.
(Inherited from MetadataModel.) | |
GetTagFromIndex |
Returns the tag at the given index.
(Inherited from MetadataModel.) | |
GetTagText |
Returns the string contained by the specified tag.
(Inherited from MetadataModel.) | |
GetTagValueT |
Returns the value of the specified tag.
(Inherited from MetadataModel.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetUInt32Array |
Returns an array containg the data of the specified tag
as unsigned 32bit integer.
(Inherited from MetadataModel.) | |
GetUInt32Value |
Returns the value of the tag as unsigned 32bit integer.
(Inherited from MetadataModel.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RegexSearch |
Searches for a pattern in each metadata tag and returns the result as a list.
(Inherited from MetadataModel.) | |
RemoveTag |
Removes the specified tag from the bitmap.
(Inherited from MetadataModel.) | |
SetTagValue(String, Object) |
Sets the value of the specified tag.
(Inherited from MetadataModel.) | |
SetTagValueT(String, NullableT) |
Sets the value of the specified tag.
(Inherited from MetadataModel.) | |
SetTagValueUndefined |
Sets the value of the specified tag as undefined.
(Inherited from MetadataModel.) | |
TagExists |
Returns whether the specified tag exists.
(Inherited from MetadataModel.) | |
ToString |
Converts the model of the MetadataModel object to its equivalent string representation.
(Inherited from MetadataModel.) |
Fields
Name | Description | |
---|---|---|
dib |
Handle to the encapsulated FreeImage-bitmap.
(Inherited from MetadataModel.) |
See Also