Class ExifData
Nazwa przestrzeń: Aspose.Imaging.Exif Zgromadzenie: Aspose.Imaging.dll (25.4.0)
Kontainer danych EXIF.
[JsonObject(MemberSerialization.OptIn)]
public class ExifData : TiffDataTypeController
Inheritance
object ← TiffDataTypeController ← ExifData
Derived
Dziedziczeni członkowie
TiffDataTypeController.Exists(ushort) , TiffDataTypeController.RemoveTagByID(ushort) , TiffDataTypeController.GetSectionTags(int) , TiffDataTypeController.SetSectionTags(int, TiffDataType[]) , TiffDataTypeController.GetTiffLongTypeValue(ushort, uint) , TiffDataTypeController.SetTiffLongTypeValue(ushort, uint, int) , TiffDataTypeController.GetTiffByteValue(ushort) , TiffDataTypeController.SetTiffByteValue(ushort, byte[], int) , TiffDataTypeController.GetTiffSRationalValue(ushort) , TiffDataTypeController.SetTiffSRationalValue(ushort, TiffSRational, int) , TiffDataTypeController.GetTiffRationalArray(ushort) , TiffDataTypeController.SetTiffRationalArray(ushort, TiffRational[], int) , TiffDataTypeController.GetTiffRationalValue(ushort) , TiffDataTypeController.SetTiffRational(ushort, TiffRational, int) , TiffDataTypeController.GetTiffStringValue(ushort) , TiffDataTypeController.SetTiffStringValue(ushort, string, int) , TiffDataTypeController.GetTiffUndefinedValue(ushort) , TiffDataTypeController.SetTiffUndefinedValue(ushort, byte[], int) , TiffDataTypeController.GetTiffShortValue(ushort, ushort) , TiffDataTypeController.SetTiffShortValue(ushort, ushort, int) , TiffDataTypeController.GetTiffShortArray(ushort) , TiffDataTypeController.SetTiffShortArray(ushort, ushort[], int) , TiffDataTypeController.GetTiffType(ushort) , TiffDataTypeController.SetTiffType(TiffDataType, int) , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Examples
Dostęp do notatek producenta kamery w obrazie JPEG.
using (var image = (JpegImage)Image.Load("Sample.jpg"))
{
foreach (var makerNote in image.ExifData.MakerNotes)
{
Console.WriteLine("Name = {0}, Value = {1}", makerNote.Name, makerNote.Value);
}
}
Constructors
ExifData()
Inicjalizuje nową instancję klasy Aspose.Imaging.exif.ExifData.
[JsonConstructor]
public ExifData()
ExifData(TiffDataType[])
Inicjalizuje nową instancję klasy Aspose.Imaging.Exif.exifData z danymi z rzędu.
public ExifData(TiffDataType[] exifdata)
Parameters
exifdata
TiffDataType
[ ]
Zestaw etykiet EXIF wraz z wspólnymi i etykietami GPS.
ExifData(TiffDataType[ ], TiffDataType[ ], TiffDataType[])
Inicjalizuje nową instancję klasy Aspose.Imaging.Exif.exifData z danymi z rzędu.
public ExifData(TiffDataType[] commonTags, TiffDataType[] exifTags, TiffDataType[] gpsTags)
Parameters
commonTags
TiffDataType
[ ]
Wspólne etykiety
exifTags
TiffDataType
[ ]
Tagi dla EXIF.
gpsTags
TiffDataType
[ ]
Tagi z GPS.
Properties
ApertureValue
Otrzymuje lub ustawia wartość otwarcia.
public TiffRational ApertureValue { get; set; }
Wartość nieruchomości
BodySerialNumber
Uzyskuje lub ustawia numer seryjny ciała kamery.
public string BodySerialNumber { get; set; }
Wartość nieruchomości
BrightnessValue
Otrzymuje lub ustawia wartość jasności.
public TiffSRational BrightnessValue { get; set; }
Wartość nieruchomości
CFAPATTERN
Uzyskuje lub ustawia wzór CFA.
public byte[] CFAPattern { get; set; }
Wartość nieruchomości
byte [ ]
CameraOwnerName
Zdobądź lub ustaw nazwę właściciela kamery
public string CameraOwnerName { get; set; }
Wartość nieruchomości
ColorSpace
Uzyskuje lub ustawia przestrzeń kolorów.
public ExifColorSpace ColorSpace { get; set; }
Wartość nieruchomości
CommonTags
Gets lub sets tags, które należą do wspólnej sekcji. to dotyczy tylko obrazów jpeg, w formacie tiffOpcje są używane zamiast
public TiffDataType[] CommonTags { get; set; }
Wartość nieruchomości
TiffDataType [ ]
ComponentsConfiguration
Pobierz lub ustawić konfigurację komponentów.
public byte[] ComponentsConfiguration { get; set; }
Wartość nieruchomości
byte [ ]
CompressedBitsPerPixel
Dostęp lub ustaw kompresowane bity na piksel.
public TiffRational CompressedBitsPerPixel { get; set; }
Wartość nieruchomości
Contrast
Znajduje się lub ustanawia kontrast.
public ExifContrast Contrast { get; set; }
Wartość nieruchomości
CustomRendered
Dostęp lub ustawienie przyzwyczajenia.
public ExifCustomRendered CustomRendered { get; set; }
Wartość nieruchomości
DateTimeDigitized
Dostęp lub ustaw datę czasu cyfrowego.
public string DateTimeDigitized { get; set; }
Wartość nieruchomości
DateTimeOriginal
Otrzymuje lub ustawia pierwotny czas daty.
public string DateTimeOriginal { get; set; }
Wartość nieruchomości
DeviceSettingDescription
Dostęp lub ustawienie opisu ustawień urządzenia
public byte[] DeviceSettingDescription { get; set; }
Wartość nieruchomości
byte [ ]
DigitalZoomRatio
Dostęp lub ustawienie stosunku cyfrowego zoomu.
public TiffRational DigitalZoomRatio { get; set; }
Wartość nieruchomości
ExifTags
Uzyskuje lub ustawia etykiety, które należą tylko do sekcji EXIF.
public TiffDataType[] ExifTags { get; set; }
Wartość nieruchomości
TiffDataType [ ]
ExifVersion
Dostęp lub ustaw wersję EXIF.
public byte[] ExifVersion { get; set; }
Wartość nieruchomości
byte [ ]
ExposureBiasValue
Otrzymuje lub ustawia wartość bias ekspozycji.
public TiffSRational ExposureBiasValue { get; set; }
Wartość nieruchomości
ExposureIndex
Dostęp lub ustaw indeks ekspozycji.
public TiffRational ExposureIndex { get; set; }
Wartość nieruchomości
ExposureMode
Pobierz lub ustawić tryb ekspozycji.
public ExifExposureMode ExposureMode { get; set; }
Wartość nieruchomości
ExposureProgram
Zostaw lub ustaw program ekspozycji.
public ExifExposureProgram ExposureProgram { get; set; }
Wartość nieruchomości
ExposureTime
Uzyskuje lub ustawia czas ekspozycji.
public TiffRational ExposureTime { get; set; }
Wartość nieruchomości
FNUMBER
Zostaw lub ustaw numer F.
public TiffRational FNumber { get; set; }
Wartość nieruchomości
FileSource
otrzymuje lub ustawia typ źródła pliku.
public ExifFileSource FileSource { get; set; }
Wartość nieruchomości
Flash
Przyjmuj lub ustaw blask.
public ExifFlash Flash { get; set; }
Wartość nieruchomości
FlashEnergy
Dostosowuje lub ustawia energię flash.
public TiffRational FlashEnergy { get; set; }
Wartość nieruchomości
FlashpixVersion
Dostęp lub ustaw wersję flash pix.
public byte[] FlashpixVersion { get; set; }
Wartość nieruchomości
byte [ ]
FocalLength
Dostosowuje lub ustawia długość ośrodka.
public TiffRational FocalLength { get; set; }
Wartość nieruchomości
FocalLengthIn35MmFilm
Uzyskać lub ustawić długość ośrodka w filmie 35 mm.
public ushort FocalLengthIn35MmFilm { get; set; }
Wartość nieruchomości
FocalPlaneResolutionUnit
Uzyskuje lub ustawia jednostkę rozdzielczości ośrodkowej.
public ExifUnit FocalPlaneResolutionUnit { get; set; }
Wartość nieruchomości
Rozwiązanie FocalPlaneX
Uzyskuje lub ustawia rozdzielczość płaszczyzny x.
public TiffRational FocalPlaneXResolution { get; set; }
Wartość nieruchomości
FocalPlaneRezolucja
Dostęp lub ustawienie poziomu i rozdzielczości.
public TiffRational FocalPlaneYResolution { get; set; }
Wartość nieruchomości
GPSWysokość
Pobierz lub ustawić wysokość GPS.
public TiffRational GPSAltitude { get; set; }
Wartość nieruchomości
GPSAltitudeRef
Uzyskuje lub ustawia wysokość GPS używana jako wysokość odniesienia.
public ExifGPSAltitudeRef GPSAltitudeRef { get; set; }
Wartość nieruchomości
Informacje GPS
Dostęp lub ustawienie informacji o obszarze GPS.
public byte[] GPSAreaInformation { get; set; }
Wartość nieruchomości
byte [ ]
GPSDOP
Uzyskuje lub ustawia GPS DOP ( stopień precyzji danych).
public TiffRational GPSDOP { get; set; }
Wartość nieruchomości
GPSDateStamp
Otrzymuje lub ustawia datę i informacje o czasie rejestracji paska znaków GPS w odniesieniu do UTC (Koordynowany Czas Uniwersalny).
public string GPSDateStamp { get; set; }
Wartość nieruchomości
GPSDestBearing
Dostęp lub ustaw przewoźnik GPS do punktu docelowego.
public TiffRational GPSDestBearing { get; set; }
Wartość nieruchomości
GPSDestBearingRef
Otrzymuje lub ustawia odniesienie GPS używane do przekazywania przesyłki do punktu docelowego.
public string GPSDestBearingRef { get; set; }
Wartość nieruchomości
GPSDistancja
Uzyskuje lub ustawia odległość GPS do punktu docelowego.
public TiffRational GPSDestDistance { get; set; }
Wartość nieruchomości
GPSDestDistancjaRef
Uzyskuje lub ustawia urządzenie GPS używane do wyrażania odległości do punktu docelowego.
public string GPSDestDistanceRef { get; set; }
Wartość nieruchomości
GPSDestLatitude
Uzyskuje lub ustawia szerokość GPS punktu docelowego.
public TiffRational[] GPSDestLatitude { get; set; }
Wartość nieruchomości
TiffRational [ ]
GPSDestLatitudeRef
Uzyskuje lub ustawia wartość GPS, która wskazuje, czy szerokość punktu docelowego jest szerokością północną lub południową.
public string GPSDestLatitudeRef { get; set; }
Wartość nieruchomości
Długość GPS
Uzyskuje lub ustawia długość GPS punktu docelowego.
public TiffRational[] GPSDestLongitude { get; set; }
Wartość nieruchomości
TiffRational [ ]
GPSDestLongitudeRef
Uzyskuje lub ustawia wartość GPS, która wskazuje, czy długość punktu docelowego jest wschodnia lub zachodnia długość.
public string GPSDestLongitudeRef { get; set; }
Wartość nieruchomości
GPS różnica
Otrzymuje lub ustawia wartość GPS, która wskazuje, czy korekcja różnicowa jest stosowana do odbiorcy GPS.
public ushort GPSDifferential { get; set; }
Wartość nieruchomości
GPSImgRozporządzenie
Uzyskuje lub ustawia kierunek GPS obrazu, gdy został złapany.
public TiffRational GPSImgDirection { get; set; }
Wartość nieruchomości
GPSImgDyrektywaRef
Otrzymuje lub ustawia odniesienie GPS, aby dać kierunek obrazu, gdy jest złapany.
public string GPSImgDirectionRef { get; set; }
Wartość nieruchomości
GPSLatitudy
Dostarcza lub ustawia szerokość GPS.
public TiffRational[] GPSLatitude { get; set; }
Wartość nieruchomości
TiffRational [ ]
GPSLatitudeRef
Dostęp lub ustaw szerokość GPS jest szerokość północna lub południowa.
public string GPSLatitudeRef { get; set; }
Wartość nieruchomości
Długość GPS
Dostarcza lub ustawia długość GPS.
public TiffRational[] GPSLongitude { get; set; }
Wartość nieruchomości
TiffRational [ ]
GPSDługośćRef
Dostarczanie lub ustawienie długości GPS to długość wschodnia lub zachodnia.
public string GPSLongitudeRef { get; set; }
Wartość nieruchomości
GPSMapDatum
Uzyskuje lub ustawia dane geodetyczne GPS wykorzystywane przez odbiorcę GPS.
public string GPSMapDatum { get; set; }
Wartość nieruchomości
Rozmiar GPS
Pobierz lub ustawić tryb pomiarowy GPS.
public string GPSMeasureMode { get; set; }
Wartość nieruchomości
Metoda przetwarzania GPS
Uzyskuje lub ustawia pasek znaków GPS rejestrując nazwę metody stosowanej do znalezienia lokalizacji.
public byte[] GPSProcessingMethod { get; set; }
Wartość nieruchomości
byte [ ]
satelity GPS
Dostarcza lub ustawia satelity GPS używane do pomiarów.
public string GPSSatellites { get; set; }
Wartość nieruchomości
GPSSpeed
Uzyskuje lub ustawia prędkość ruchu odbiorcy GPS.
public TiffRational GPSSpeed { get; set; }
Wartość nieruchomości
GPSSpeedRef
Uzyskuje lub ustawia jednostkę używaną do wyrażania prędkości ruchu odbiorcy GPS.
public string GPSSpeedRef { get; set; }
Wartość nieruchomości
GPSStatus
Uzyskuje lub ustawia status odbiorcy GPS podczas nagrywania obrazu.
public string GPSStatus { get; set; }
Wartość nieruchomości
GPSTAGS
Uzyskuje lub ustawia etykiety, które należą tylko do sekcji GPS.
public TiffDataType[] GPSTags { get; set; }
Wartość nieruchomości
TiffDataType [ ]
GPSTimestamp
Dostarcza lub ustawia czas GPS jako UTC (Koordynowany Czas Uniwersalny).
public TiffRational[] GPSTimestamp { get; set; }
Wartość nieruchomości
TiffRational [ ]
GPSTrack
Uzyskuje lub ustawia kierunek ruchu odbiorcy GPS.
public string GPSTrack { get; set; }
Wartość nieruchomości
GPSTrackRef
Otrzymuje lub ustawia odniesienie, aby dać kierunek ruchu odbiorcy GPS.
public string GPSTrackRef { get; set; }
Wartość nieruchomości
Wersja GPS
Uzyskuje lub ustawia identyfikator wersji GPS.
public byte[] GPSVersionID { get; set; }
Wartość nieruchomości
byte [ ]
GainControl
Otrzymuje lub ustawia stopień ogólnego dostosowania obrazu.
public ExifGainControl GainControl { get; set; }
Wartość nieruchomości
Gamma
Zostaw lub ustaw gamę.
public TiffRational Gamma { get; set; }
Wartość nieruchomości
ISOSPED
Zdobądź lub ustaw prędkość ISO
public uint ISOSpeed { get; set; }
Wartość nieruchomości
Łańcuch
otrzymuje lub ustawia wartość ISO prędkości szerokości yyy kamery lub urządzenia wejściowego, która jest zdefiniowana w ISO 12232.
public uint ISOSpeedLatitudeYYY { get; set; }
Wartość nieruchomości
Remarks
Ten tag nie będzie zapisywany bez ISOSpeed i ISOSpeedLatitudezzz
Łańcuch ZZZ
Otrzymuje lub ustawia wartość ISO prędkości szerokości zzz kamery lub urządzenia wejściowego, która jest zdefiniowana w ISO 12232.
public uint ISOSpeedLatitudeZZZ { get; set; }
Wartość nieruchomości
Remarks
Ten tag nie będzie zapisywany bez ISOSpeed i ISOSpeedLatitudeyyy
Zdjęcie unikalne
Uzyskuje lub ustawia unikalny identyfikator obrazu.
public string ImageUniqueID { get; set; }
Wartość nieruchomości
IsBigEndian
Otrzymuje lub ustawia wartość wskazującą, czy strumień danych EXIF utworzonych jest dużym końcem.
[JsonProperty]
public bool IsBigEndian { get; set; }
Wartość nieruchomości
LensMake
Zostaw lub ustaw twórcę soczewek.
public string LensMake { get; set; }
Wartość nieruchomości
LensModel
Przyjmuje lub ustawia model soczewki.
public string LensModel { get; set; }
Wartość nieruchomości
LensSerialNumber
Dostęp lub ustaw liczbę serii soczewki.
public string LensSerialNumber { get; set; }
Wartość nieruchomości
LensSpecification
Uzyskaj lub ustaw specyfikację soczewki
public TiffRational[] LensSpecification { get; set; }
Wartość nieruchomości
TiffRational [ ]
LightSource
Dostęp lub ustawienie źródła światła.
public ExifLightSource LightSource { get; set; }
Wartość nieruchomości
Make
Otrzymuje lub ustawia producent sprzętu rejestracyjnego.
public string Make { get; set; }
Wartość nieruchomości
MakerNoteData
Otrzymuje dane notatnika.
public TiffDataType[] MakerNoteData { get; }
Wartość nieruchomości
TiffDataType [ ]
MakerNoteRawData
Otrzymuje lub ustawia twórca notatek surowych danych.
public byte[] MakerNoteRawData { get; set; }
Wartość nieruchomości
byte [ ]
MakerNotes
Otrzymuje notatkę twórcy.
public MakerNote[] MakerNotes { get; }
Wartość nieruchomości
MakerNote [ ]
Examples
Dostęp do notatek producenta kamery w obrazie JPEG.
using (var image = (JpegImage)Image.Load("Sample.jpg"))
{
foreach (var makerNote in image.ExifData.MakerNotes)
{
Console.WriteLine("Name = {0}, Value = {1}", makerNote.Name, makerNote.Value);
}
}
MaxApertureValue
otrzymuje lub ustawia maksymalną wartość otwarcia.
public TiffRational MaxApertureValue { get; set; }
Wartość nieruchomości
MeteringMode
Dostęp lub ustawienie trybu pomiaru.
public ExifMeteringMode MeteringMode { get; set; }
Wartość nieruchomości
OECF
Dostarcza lub ustawia funkcję konwersji optoelektrycznej (OECF) określoną w ISO 14524.
public byte[] OECF { get; set; }
Wartość nieruchomości
byte [ ]
Orientation
Dostarcza lub ustawia orientację.
public ExifOrientation Orientation { get; set; }
Wartość nieruchomości
PhotographicSensitivity
Uzyskuje lub ustawia wrażliwość fotograficzną.
public uint PhotographicSensitivity { get; set; }
Wartość nieruchomości
PixelXDimensja
Dostęp lub ustaw rozmiar piksela x.
public uint PixelXDimension { get; set; }
Wartość nieruchomości
rozmiar pixel
Dostęp lub ustaw rozmiar pixel y.
public uint PixelYDimension { get; set; }
Wartość nieruchomości
Properties
Uzyskać lub ustawić wszystkie etykiety EXIF (w tym wspólne i etykiety GPS).
public TiffDataType[] Properties { get; set; }
Wartość nieruchomości
TiffDataType [ ]
RecommendedExposureIndex
otrzymuje lub ustawia zalecany indeks ekspozycji.
public uint RecommendedExposureIndex { get; set; }
Wartość nieruchomości
RelatedSoundFile
otrzymuje lub ustawia powiązany plik dźwiękowy.
public string RelatedSoundFile { get; set; }
Wartość nieruchomości
Saturation
Uzyskuje lub ustawia satysfakcję.
public ExifSaturation Saturation { get; set; }
Wartość nieruchomości
SceneCaptureType
Zostaw lub ustaw scenę typ złamania.
public ExifSceneCaptureType SceneCaptureType { get; set; }
Wartość nieruchomości
SceneType
Uzyskuje lub ustawia typ sceny.
public byte SceneType { get; set; }
Wartość nieruchomości
SensingMethod
Dostęp lub ustawienie metody odczuwania.
public ExifSensingMethod SensingMethod { get; set; }
Wartość nieruchomości
SensitivityType
Uzyskuje lub ustawia typ wrażliwości.
public ushort SensitivityType { get; set; }
Wartość nieruchomości
Sharpness
Utrzymuje lub ustawia ostrość.
public ushort Sharpness { get; set; }
Wartość nieruchomości
ShutterSpeedValue
Otrzymuje lub ustawia wartość prędkości zamknięcia.
public TiffSRational ShutterSpeedValue { get; set; }
Wartość nieruchomości
SpatialFrequencyResponse
Dostarcza lub ustawia reakcję częstotliwości kosmicznej.
public byte[] SpatialFrequencyResponse { get; set; }
Wartość nieruchomości
byte [ ]
SpectralSensitivity
Uzyskuje lub ustawia wrażliwość spektralną.
public string SpectralSensitivity { get; set; }
Wartość nieruchomości
StandardOutputSensitivity
Uzyskuje lub ustawia standardową wrażliwość wyjścia
public uint StandardOutputSensitivity { get; set; }
Wartość nieruchomości
SubjectArea
Zostaw lub ustaw obszar tematu.
public ushort[] SubjectArea { get; set; }
Wartość nieruchomości
ushort [ ]
SubjectDistance
Zostaw lub ustaw odległość przedmiotu.
public TiffRational SubjectDistance { get; set; }
Wartość nieruchomości
SubjectDistanceRange
Uzyskuje lub ustawia zakres odległości przedmiotu.
public ExifSubjectDistanceRange SubjectDistanceRange { get; set; }
Wartość nieruchomości
SubjectLocation
Zostaw lub ustaw lokalizację przedmiotu.
public ushort[] SubjectLocation { get; set; }
Wartość nieruchomości
ushort [ ]
SubsecTime
Otrzymuje lub ustawia fragmenty sekund dla tagu DateTime.
public string SubsecTime { get; set; }
Wartość nieruchomości
SubsecTimeDigitized
Otrzymuje lub ustawia fragmenty sekund dla tagu DateTimeDigitized.
public string SubsecTimeDigitized { get; set; }
Wartość nieruchomości
SubsecTimeOriginal
Otrzymuje lub ustawia fragmenty sekund dla tagu DateTimeOriginal.
public string SubsecTimeOriginal { get; set; }
Wartość nieruchomości
UserComment
Otrzymuje lub ustawia komentarz użytkownika.
public string UserComment { get; set; }
Wartość nieruchomości
WhiteBalance
Uzyskuje lub ustawia biały balans.
public ExifWhiteBalance WhiteBalance { get; set; }
Wartość nieruchomości
WhitePoint
Uzyskuje lub ustawia chromatyczność białego punktu obrazu.
public TiffRational[] WhitePoint { get; set; }
Wartość nieruchomości
TiffRational [ ]
Methods
GetShortOrLong(wstrząsać)
Dostaje krótką lub długą wartość.
protected uint GetShortOrLong(ushort key)
Parameters
key
ushort
Klucz do uzyskania wartości.
Returns
Krótka lub długa wartość przekształcona w integralną.
RemoveTag(ExifProperties)
Usunąć tag z kontenera
public void RemoveTag(ExifProperties tag)
Parameters
tag
ExifProperties
Tagi do usunięcia
RemoveTag(wstrząsać)
Usunąć tag z kontenera
public void RemoveTag(ushort tagId)
Parameters
tagId
ushort
Tagi identyfikator do usunięcia.
SetShortOrLong(węgiel, węgiel, int)
Określ krótką lub długą wartość w zależności od wartości.
protected void SetShortOrLong(ushort key, uint value, int section)
Parameters
key
ushort
Klucz do ustawienia.
value
uint
Wartość do ustalenia.
section
int
Sekcja do wejścia.