ExifPackage Class |
Namespace: GroupDocs.Metadata.Standards.Exif
The ExifPackage type exposes the following members.
Name | Description | |
---|---|---|
![]() | ExifPackage |
Initializes a new instance of the ExifPackage class.
|
Name | Description | |
---|---|---|
![]() | Artist |
Gets or sets the name of the camera owner, photographer or image creator.
|
![]() | Copyright |
Gets or sets the copyright notice.
|
![]() | Count |
Gets the number of metadata properties.
(Inherited from MetadataPackage.) |
![]() | DateTime |
Gets or sets the date and time of image creation.
In the EXIF standard, it is the date and time the file was changed.
|
![]() | ExifIfdPackage |
Gets the EXIF IFD data.
|
![]() | GpsPackage |
Gets the GPS data.
|
![]() | ImageDescription |
Gets or sets a character string giving the title of the image.
It may be a comment such as "1988 company picnic" or the like.
|
![]() | ImageLength |
Gets or sets the number of rows of image data.
|
![]() | ImageWidth |
Gets or sets the number of columns of image data, equal to the number of pixels per row.
|
![]() | ItemString |
Gets the MetadataProperty with the specified name.
(Inherited from MetadataPackage.) |
![]() ![]() | ItemTiffTagID |
Gets the TIFF tag with the specified id.
(Inherited from ExifDictionaryBasePackage.) |
![]() | Keys |
Gets a collection of the metadata property names.
(Inherited from MetadataPackage.) |
![]() | KnowPropertyDescriptors | Obsolete.
Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine.
(Inherited from MetadataPackage.) |
![]() | Make |
Gets or sets the manufacturer of the recording equipment.
This is the manufacturer of the DSC, scanner, video digitizer or other equipment that generated the image.
|
![]() | MetadataType |
Gets the metadata type.
(Inherited from MetadataPackage.) |
![]() | Model |
Gets or sets the model name or model number of the equipment.
This is the model name or number of the DSC, scanner, video digitizer or other equipment that generated the image.
|
![]() | PropertyDescriptors |
Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine.
(Inherited from MetadataPackage.) |
![]() | Software |
Gets or sets the name and version of the software or firmware of the camera or image input device used to generate the image.
|
![]() | Thumbnail |
Gets the image thumbnail represented as an array of bytes.
|
Name | Description | |
---|---|---|
![]() | AddProperties |
Adds known metadata properties satisfying the specified predicate.
The operation is recursive so it affects all nested packages as well.
(Inherited from MetadataPackage.) |
![]() | Clear |
Removes all TIFF tags stored in the package.
(Inherited from ExifDictionaryBasePackage.) |
![]() | Contains |
Determines whether the package contains a metadata property with the specified name.
(Inherited from MetadataPackage.) |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | FindProperties |
Finds the metadata properties satisfying the specified predicate.
The search is recursive so it affects all nested packages as well.
(Inherited from MetadataPackage.) |
![]() | GetEnumerator |
Returns an enumerator that iterates through the collection.
(Inherited from MetadataPackage.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | Remove |
Removes the property with the specified id.
(Inherited from ExifDictionaryBasePackage.) |
![]() | RemoveProperties |
Removes metadata properties satisfying the specified predicate.
(Inherited from MetadataPackage.) |
![]() | Sanitize |
Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well.
(Inherited from MetadataPackage.) |
![]() ![]() | Set |
Adds or replaces the specified tag.
(Inherited from ExifDictionaryBasePackage.) |
![]() | SetProperties |
Sets known metadata properties satisfying the specified predicate.
The operation is recursive so it affects all nested packages as well.
This method is a combination of AddProperties(FuncMetadataProperty, Boolean, PropertyValue) and UpdateProperties(FuncMetadataProperty, Boolean, PropertyValue).
If an existing property satisfies the predicate its value is updated.
If there is a known property missing in the package that satisfies the predicate it is added to the package.
(Inherited from MetadataPackage.) |
![]() ![]() | ToList |
Creates a list from the package.
(Inherited from ExifDictionaryBasePackage.) |
![]() | ToString | (Inherited from Object.) |
![]() | UpdateProperties |
Updates known metadata properties satisfying the specified predicate.
The operation is recursive so it affects all nested packages as well.
(Inherited from MetadataPackage.) |
using (Metadata metadata = new Metadata(Constants.InputJpeg)) { IExif root = metadata.GetRootPackage() as IExif; if (root != null) { // Set the EXIF package if it's missing if (root.ExifPackage == null) { root.ExifPackage = new ExifPackage(); } root.ExifPackage.Copyright = "Copyright (C) 2011-2021 GroupDocs. All Rights Reserved."; root.ExifPackage.ImageDescription = "test image"; root.ExifPackage.Software = "GroupDocs.Metadata"; // ... root.ExifPackage.ExifIfdPackage.BodySerialNumber = "test"; root.ExifPackage.ExifIfdPackage.CameraOwnerName = "GroupDocs"; root.ExifPackage.ExifIfdPackage.UserComment = "test comment"; // ... metadata.Save(Constants.OutputJpeg); } }