C# Class EXIF_Tools.GlobalUtilityTool

Afficher le fichier Open project: Dronolab/drono-exiftools

Méthodes publiques

Свойство Type Description
NEWVAL bool
OFFSET bool

Méthodes publiques

Méthode Description
GetAltitudeAtFile ( string fileName ) : double

Return the altitude stored in a file

GetFocalLenghtAtFile ( string fileName ) : double

Return the focal lenght stored in a file

GetNbFilesWithExt ( string directoryName, string extension ) : int

Return the number of files of a certain extension in a directory

ReplaceAltitudeAtDirectory ( string directoryName, bool changeType, double newValue ) : int

This method changes the Altitude EXIF of all images inside a directory, directoryName : path to directory where changes are to occur changeType : OFFSET or NEWVAL newValue : value to work with Notes : This method uses ReplaceAltitudeAtFile extensively, see it for more details

ReplaceAltitudeAtFile ( string fileName, bool changeType, double newValue ) : bool

This method will replace and altitude EXIF fileName : path to the file to change changeType : OFFSET or NEWVAL newValue : value to work with If changeType is OFFSET, the resulting EXIF will be (original altitude + newValue) If changeType is NEWVAL, the resulting EXIF will be (newValue)

ReplaceFocalLenghtAtDirectory ( string directoryName, double newValue ) : int

This method changes the focal lenght EXIF of all images inside a directory, directoryName : path to directory where changes are to occur newValue : value to work with Notes : This method uses ReplaceAltitudeAtFile extensively, see it for more details

ReplaceFocalLenghtAtFile ( string fileName, double newValue ) : bool

This method will replace focal lenght EXIF fileName : path to the file to change newValue : value to work with If changeType is OFFSET, the resulting EXIF will be (original altitude + newValue) If changeType is NEWVAL, the resulting EXIF will be (newValue)

Method Details

GetAltitudeAtFile() public static méthode

Return the altitude stored in a file
public static GetAltitudeAtFile ( string fileName ) : double
fileName string
Résultat double

GetFocalLenghtAtFile() public static méthode

Return the focal lenght stored in a file
public static GetFocalLenghtAtFile ( string fileName ) : double
fileName string
Résultat double

GetNbFilesWithExt() public static méthode

Return the number of files of a certain extension in a directory
public static GetNbFilesWithExt ( string directoryName, string extension ) : int
directoryName string
extension string
Résultat int

ReplaceAltitudeAtDirectory() public static méthode

This method changes the Altitude EXIF of all images inside a directory, directoryName : path to directory where changes are to occur changeType : OFFSET or NEWVAL newValue : value to work with Notes : This method uses ReplaceAltitudeAtFile extensively, see it for more details
public static ReplaceAltitudeAtDirectory ( string directoryName, bool changeType, double newValue ) : int
directoryName string
changeType bool
newValue double
Résultat int

ReplaceAltitudeAtFile() public static méthode

This method will replace and altitude EXIF fileName : path to the file to change changeType : OFFSET or NEWVAL newValue : value to work with If changeType is OFFSET, the resulting EXIF will be (original altitude + newValue) If changeType is NEWVAL, the resulting EXIF will be (newValue)
public static ReplaceAltitudeAtFile ( string fileName, bool changeType, double newValue ) : bool
fileName string
changeType bool
newValue double
Résultat bool

ReplaceFocalLenghtAtDirectory() public static méthode

This method changes the focal lenght EXIF of all images inside a directory, directoryName : path to directory where changes are to occur newValue : value to work with Notes : This method uses ReplaceAltitudeAtFile extensively, see it for more details
public static ReplaceFocalLenghtAtDirectory ( string directoryName, double newValue ) : int
directoryName string
newValue double
Résultat int

ReplaceFocalLenghtAtFile() public static méthode

This method will replace focal lenght EXIF fileName : path to the file to change newValue : value to work with If changeType is OFFSET, the resulting EXIF will be (original altitude + newValue) If changeType is NEWVAL, the resulting EXIF will be (newValue)
public static ReplaceFocalLenghtAtFile ( string fileName, double newValue ) : bool
fileName string
newValue double
Résultat bool

Property Details

NEWVAL public_oe static_oe property

public static bool NEWVAL
Résultat bool

OFFSET public_oe static_oe property

public static bool OFFSET
Résultat bool