Click or drag to resize

JpegMarkerCollection Class

Contains a collection of JpegMarkers and methods to access JpegMarker data.

Inheritance Hierarchy
SystemObject
  System.CollectionsCollectionBase
    Atalasoft.Imaging.MetadataJpegMarkerCollection

Namespace:  Atalasoft.Imaging.Metadata
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public class JpegMarkerCollection : CollectionBase

The JpegMarkerCollection type exposes the following members.

Constructors
  NameDescription
Public methodJpegMarkerCollection
Creates a new instance of JpegMarkerCollection with an empty collection
Public methodJpegMarkerCollection(Stream)
Creates a new instance of JpegMarkerCollection specifying a stream containing the Jpeg file.
Public methodJpegMarkerCollection(String)
Creates a new instance of JpegMarkerCollection specifying the filename of the image.
Top
Properties
  NameDescription
Public propertyCapacity
Gets or sets the number of elements that the CollectionBase can contain.
(Inherited from CollectionBase.)
Public propertyCount
Gets the number of elements contained in the CollectionBase instance. This property cannot be overridden.
(Inherited from CollectionBase.)
Protected propertyInnerList
Gets an ArrayList containing the list of elements in the CollectionBase instance.
(Inherited from CollectionBase.)
Public propertyItem
Allows the JpegMarker objects to be enumerated.
Protected propertyList
Gets an IList containing the list of elements in the CollectionBase instance.
(Inherited from CollectionBase.)
Public propertyMarkersToSave Obsolete.
Obsolete
Top
Methods
  NameDescription
Public methodAdd
Adds a new JpegMarker to the collection.
Public methodClear
Removes all objects from the CollectionBase instance. This method cannot be overridden.
(Inherited from CollectionBase.)
Public methodContains(IptcTag) Obsolete.
Determines whether the collection contains the specified marker.
Public methodContains(JpegMarker)
Determines whether the collection contains the specified marker.
Public methodCopyTo
Public methodDispose Obsolete.
Releases unmanaged and - optionally - managed resources.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the CollectionBase instance.
(Inherited from CollectionBase.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Searches for the specified %Atalasoft.dotImage~Atalasoft.Imaging.Metadata.JpegMarker% and returns the zero-based index of the first occurance within the collection
Public methodInsert
Insert a new %Atalasoft.dotImage~Atalasoft.Imaging.Metadata.JpegMarker% into the collection at the specified index.
Public methodLookupMarker 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.

Public methodLookupMarkers
Returns a collection of %Atalasoft.dotImage~Atalasoft.Imaging.Metadata.JpegMarker% in the collection based on the marker type.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnClear
Performs additional custom processes when clearing the contents of the CollectionBase instance.
(Inherited from CollectionBase.)
Protected methodOnClearComplete
Performs additional custom processes after clearing the contents of the CollectionBase instance.
(Inherited from CollectionBase.)
Protected methodOnInsert
Performs additional custom processes before inserting a new element into the CollectionBase instance.
(Inherited from CollectionBase.)
Protected methodOnInsertComplete
Performs additional custom processes after inserting a new element into the CollectionBase instance.
(Inherited from CollectionBase.)
Protected methodOnRemove
Performs additional custom processes when removing an element from the CollectionBase instance.
(Inherited from CollectionBase.)
Protected methodOnRemoveComplete
Performs additional custom processes after removing an element from the CollectionBase instance.
(Inherited from CollectionBase.)
Protected methodOnSet
Performs additional custom processes before setting a value in the CollectionBase instance.
(Inherited from CollectionBase.)
Protected methodOnSetComplete
Performs additional custom processes after setting a value in the CollectionBase instance.
(Inherited from CollectionBase.)
Protected methodOnValidate
Performs additional custom processes when validating a value.
(Inherited from CollectionBase.)
Public methodRemove
Removes a specified %Atalasoft.dotImage~Atalasoft.Imaging.Metadata.JpegMarker% from the collection.
Public methodRemoveAt
Removes the element at the specified index of the CollectionBase instance. This method is not overridable.
(Inherited from CollectionBase.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

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.

See Also