C# Class ImageMagick.ExifProfile

Class that can be used to access an Exif profile.
Inheritance: ImageProfile
显示文件 Open project: dlemstra/Magick.NET Class Usage Examples

Public Methods

Method Description
CreateThumbnail ( ) : MagickImage

Returns the thumbnail in the exif profile when available.

ExifProfile ( ) : System

Initializes a new instance of the ExifProfile class.

ExifProfile ( Stream stream ) : System

Initializes a new instance of the ExifProfile class.

ExifProfile ( byte data ) : System

Initializes a new instance of the ExifProfile class.

ExifProfile ( string fileName ) : System

Initializes a new instance of the ExifProfile class.

GetValue ( ExifTag tag ) : ExifValue

Returns the value with the specified tag.

RemoveValue ( ExifTag tag ) : bool

Removes the value with the specified tag.

SetValue ( ExifTag tag, object value ) : void

Sets the value of the specified tag.

Protected Methods

Method Description
UpdateData ( ) : void

Updates the data of the profile.

Private Methods

Method Description
Initialize ( ) : void
InitializeValues ( ) : void

Method Details

CreateThumbnail() public method

Returns the thumbnail in the exif profile when available.
public CreateThumbnail ( ) : MagickImage
return MagickImage

ExifProfile() public method

Initializes a new instance of the ExifProfile class.
public ExifProfile ( ) : System
return System

ExifProfile() public method

Initializes a new instance of the ExifProfile class.
public ExifProfile ( Stream stream ) : System
stream Stream The stream to read the exif profile from.
return System

ExifProfile() public method

Initializes a new instance of the ExifProfile class.
public ExifProfile ( byte data ) : System
data byte The byte array to read the exif profile from.
return System

ExifProfile() public method

Initializes a new instance of the ExifProfile class.
public ExifProfile ( string fileName ) : System
fileName string The fully qualified name of the exif profile file, or the relative /// exif profile file name.
return System

GetValue() public method

Returns the value with the specified tag.
public GetValue ( ExifTag tag ) : ExifValue
tag ExifTag The tag of the exif value.
return ExifValue

RemoveValue() public method

Removes the value with the specified tag.
public RemoveValue ( ExifTag tag ) : bool
tag ExifTag The tag of the exif value.
return bool

SetValue() public method

Sets the value of the specified tag.
public SetValue ( ExifTag tag, object value ) : void
tag ExifTag The tag of the exif value.
value object The value.
return void

UpdateData() protected method

Updates the data of the profile.
protected UpdateData ( ) : void
return void