FreeImage.NET Class Library Reference
![]() | WICMetadataHandler Class |
Windows Imaging Component Metadata Handler. See BitmapMetadata.

Namespace: FreeImageAPI.Metadata
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)

C#
public class WICMetadataHandler
The WICMetadataHandler type exposes the following members.

Name | Description | |
---|---|---|
![]() | WICMetadataHandler | Initializes a new instance of the WICMetadataHandler class |

Name | Description | |
---|---|---|
![]() | ApplicationName |
Gets or sets a value that identifies the name of the application that was used to construct or alter an image file.
|
![]() | Author |
Gets or sets a value that represents the author of an image.
|
![]() | CameraManufacturer |
Gets or sets a value that identifies the camera manufacturer that is associated with an image.
|
![]() | CameraModel |
Gets or sets a value that identifies the camera model that was used to capture the image.
|
![]() | Comment |
Comment Gets or sets a value that represents a comment that is associated with the image file.
|
![]() | Copyright |
Gets or sets a value that indicates copyright information that is associated with the image file.
|
![]() | DateTaken |
Gets or sets a value that indicates the date that the image was taken.
|
![]() | Keywords |
Gets or sets a collection of keywords that describe the bitmap image.
|
![]() | Rating |
Gets or sets a value that identifies the image rating.
|
![]() | Subject |
Gets or sets a value that indicates the subject matter of the bitmap image.
|
![]() | Title |
Gets or sets a value that identifies the title of an image file.
|

Name | Description | |
---|---|---|
![]() ![]() | ContainsQuery | Determines whether a given query string exists within a BitmapMetadata object. |
![]() | 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.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() ![]() | GetQuery | Provides access to a metadata query reader that can extract metadata from a bitmap image file. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | RemoveQuery | Removes a metadata query from an instance of BitmapMetadata. |
![]() | Save |
Saves the metadata to the underlying FreeImageBitmap. Modified metadata
is not saved until this method is called.
|
![]() ![]() | SetQuery | Provides access to a metadata query writer that can write metadata to a bitmap image file. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |

Modified metadata isn't saved to the FreeImageBitmap until the Save-Method is called.
This class is not supported on Mono.

using (FreeImageBitmap fib = new FreeImageBitmap(path)) { WICMetadataHandler metadata = fib.GetWICMetadataHandler(); metadata.DateTaken = DateTime.Now; metadata.Comment = "Hallo"; object alt = metadata.GetQuery("System.GPS.Latitude"); metadata.Save(); }
