C# Класс EXIF_Tools.GlobalUtilityTool

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
NEWVAL bool
OFFSET bool

Открытые методы

Метод Описание
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)

Описание методов

GetAltitudeAtFile() публичный статический Метод

Return the altitude stored in a file
public static GetAltitudeAtFile ( string fileName ) : double
fileName string
Результат double

GetFocalLenghtAtFile() публичный статический Метод

Return the focal lenght stored in a file
public static GetFocalLenghtAtFile ( string fileName ) : double
fileName string
Результат double

GetNbFilesWithExt() публичный статический Метод

Return the number of files of a certain extension in a directory
public static GetNbFilesWithExt ( string directoryName, string extension ) : int
directoryName string
extension string
Результат int

ReplaceAltitudeAtDirectory() публичный статический Метод

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
Результат int

ReplaceAltitudeAtFile() публичный статический Метод

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
Результат bool

ReplaceFocalLenghtAtDirectory() публичный статический Метод

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
Результат int

ReplaceFocalLenghtAtFile() публичный статический Метод

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
Результат bool

Описание свойств

NEWVAL публичное статическое свойство

public static bool NEWVAL
Результат bool

OFFSET публичное статическое свойство

public static bool OFFSET
Результат bool