JpegMarkerCollection Class |
Contains a collection of JpegMarkers and methods to access JpegMarker data.
Namespace: Atalasoft.Imaging.Metadata
The JpegMarkerCollection type exposes the following members.
Name | Description | |
---|---|---|
JpegMarkerCollection | Creates a new instance of JpegMarkerCollection with an empty collection | |
JpegMarkerCollection(Stream) | Creates a new instance of JpegMarkerCollection specifying a stream containing the Jpeg
file. | |
JpegMarkerCollection(String) | Creates a new instance of JpegMarkerCollection specifying the filename of the image.
|
Name | Description | |
---|---|---|
Capacity | Gets or sets the number of elements that the CollectionBase can contain. (Inherited from CollectionBase.) | |
Count | Gets the number of elements contained in the CollectionBase instance. This property cannot be overridden. (Inherited from CollectionBase.) | |
InnerList | Gets an ArrayList containing the list of elements in the CollectionBase instance. (Inherited from CollectionBase.) | |
Item | Allows the JpegMarker objects to be enumerated. | |
List | Gets an IList containing the list of elements in the CollectionBase instance. (Inherited from CollectionBase.) | |
MarkersToSave | Obsolete. Obsolete |
Name | Description | |
---|---|---|
Add | Adds a new JpegMarker to the collection. | |
Clear | Removes all objects from the CollectionBase instance. This method cannot be overridden. (Inherited from CollectionBase.) | |
Contains(IptcTag) | Obsolete.
Determines whether the collection contains the specified marker.
| |
Contains(JpegMarker) |
Determines whether the collection contains the specified marker.
| |
CopyTo | ||
Dispose | Obsolete.
Releases unmanaged and - optionally - managed resources.
| |
Equals | Determines whether the specified object is equal to the current object. (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 | Returns an enumerator that iterates through the CollectionBase instance. (Inherited from CollectionBase.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IndexOf | Searches for the specified %Atalasoft.dotImage~Atalasoft.Imaging.Metadata.JpegMarker% and returns the
zero-based index of the first occurance within the collection | |
Insert | Insert a new %Atalasoft.dotImage~Atalasoft.Imaging.Metadata.JpegMarker% into the collection at the
specified index. | |
LookupMarker | Obsolete. This method is obsolete and will only return the first marker found, please use LookupMarkers instead. Returns a %Atalasoft.dotImage~Atalasoft.Imaging.Metadata.JpegMarker% in the collection based on the marker type. | |
LookupMarkers | Returns a collection of %Atalasoft.dotImage~Atalasoft.Imaging.Metadata.JpegMarker% in the collection based
on the marker type. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnClear | Performs additional custom processes when clearing the contents of the CollectionBase instance. (Inherited from CollectionBase.) | |
OnClearComplete | Performs additional custom processes after clearing the contents of the CollectionBase instance. (Inherited from CollectionBase.) | |
OnInsert | Performs additional custom processes before inserting a new element into the CollectionBase instance. (Inherited from CollectionBase.) | |
OnInsertComplete | Performs additional custom processes after inserting a new element into the CollectionBase instance. (Inherited from CollectionBase.) | |
OnRemove | Performs additional custom processes when removing an element from the CollectionBase instance. (Inherited from CollectionBase.) | |
OnRemoveComplete | Performs additional custom processes after removing an element from the CollectionBase instance. (Inherited from CollectionBase.) | |
OnSet | Performs additional custom processes before setting a value in the CollectionBase instance. (Inherited from CollectionBase.) | |
OnSetComplete | Performs additional custom processes after setting a value in the CollectionBase instance. (Inherited from CollectionBase.) | |
OnValidate | Performs additional custom processes when validating a value. (Inherited from CollectionBase.) | |
Remove | Removes a specified %Atalasoft.dotImage~Atalasoft.Imaging.Metadata.JpegMarker% from the collection. | |
RemoveAt | Removes the element at the specified index of the CollectionBase instance. This method is not overridable. (Inherited from CollectionBase.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Metadata such as EXIF, IPTC, and COM Markers are stored in as Jpeg Markers in JPEG files. This class allows Jpeg markers to be accessed and resaved in a new image (both lossy or lossless).
The marker data returned does not contain the first four bytes of actual marker data. These four bytes contain the length of the data and the marker type.