Class ExifData
Pôvodný názov: Aspose.Imaging.Exif Zhromaždenie: Aspose.Imaging.dll (25.4.0)
EXIF dátový kontajner.
[JsonObject(MemberSerialization.OptIn)]
public class ExifData : TiffDataTypeController
Inheritance
object ← TiffDataTypeController ← ExifData
Derived
Z dedičných členov
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
Prístup k poznámkam výrobcu fotoaparátu v obrázku 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()
Initalizuje novú inštanciu triedy Aspose.Imaging.Exif.exifData.
[JsonConstructor]
public ExifData()
ExifData(TiffDataType[])
Initalizuje novú inštanciu triedy Aspose.Imaging.Exif.exifData s údajmi z rebríčka.
public ExifData(TiffDataType[] exifdata)
Parameters
exifdata
TiffDataType
[]
Nariadenie značiek EXIF spolu s bežnými a GPS značkami.
ExifData(TiffDataType[], TiffDataType[], TiffDataType[])
Initalizuje novú inštanciu triedy Aspose.Imaging.Exif.exifData s údajmi z rebríčka.
public ExifData(TiffDataType[] commonTags, TiffDataType[] exifTags, TiffDataType[] gpsTags)
Parameters
commonTags
TiffDataType
[]
Spoločné značky .
exifTags
TiffDataType
[]
Sú to exif tags.
gpsTags
TiffDataType
[]
Zoznam záznamov GPS.
Properties
ApertureValue
Dostane alebo nastaví hodnotu otvorenia.
public TiffRational ApertureValue { get; set; }
Hodnota nehnuteľnosti
BodySerialNumber
Získajte alebo nastavíte sériové číslo fotoaparátu.
public string BodySerialNumber { get; set; }
Hodnota nehnuteľnosti
BrightnessValue
Získa alebo nastaví hodnotu jasu.
public TiffSRational BrightnessValue { get; set; }
Hodnota nehnuteľnosti
CFAPatternová
Získať alebo nastaviť vzor CFA.
public byte[] CFAPattern { get; set; }
Hodnota nehnuteľnosti
byte []
CameraOwnerName
Získať alebo nastaviť názov majiteľa fotoaparátu
public string CameraOwnerName { get; set; }
Hodnota nehnuteľnosti
ColorSpace
Dostane alebo nastaví farebný priestor.
public ExifColorSpace ColorSpace { get; set; }
Hodnota nehnuteľnosti
CommonTags
Gets alebo set tags, ktoré patria do spoločnej sekcie. to platí len pre jpeg obrázky, v tiff formáte tiffOptions sa používajú namiesto
public TiffDataType[] CommonTags { get; set; }
Hodnota nehnuteľnosti
TiffDataType []
ComponentsConfiguration
Získať alebo nastaviť konfiguráciu komponentov.
public byte[] ComponentsConfiguration { get; set; }
Hodnota nehnuteľnosti
byte []
CompressedBitsPerPixel
Získajte alebo nastavíte komprimované bity na pixel.
public TiffRational CompressedBitsPerPixel { get; set; }
Hodnota nehnuteľnosti
Contrast
Dostanete alebo nastavíte kontrast.
public ExifContrast Contrast { get; set; }
Hodnota nehnuteľnosti
CustomRendered
Dostane alebo nastaví návyk odovzdaný.
public ExifCustomRendered CustomRendered { get; set; }
Hodnota nehnuteľnosti
DateTimeDigitized
Dostane alebo nastaví dátum čas digitalizovaný.
public string DateTimeDigitized { get; set; }
Hodnota nehnuteľnosti
DateTimeOriginal
Získajte alebo nastavíte dátum pôvodného času.
public string DateTimeOriginal { get; set; }
Hodnota nehnuteľnosti
DeviceSettingDescription
Získajte alebo nastavíte popis nastavení zariadenia
public byte[] DeviceSettingDescription { get; set; }
Hodnota nehnuteľnosti
byte []
DigitalZoomRatio
Získať alebo nastaviť digitálny zoom pomer.
public TiffRational DigitalZoomRatio { get; set; }
Hodnota nehnuteľnosti
ExifTags
Získajte alebo nastavíte značky, ktoré patria len do sekcie EXIF.
public TiffDataType[] ExifTags { get; set; }
Hodnota nehnuteľnosti
TiffDataType []
ExifVersion
Získajte alebo nastavíte verziu EXIF.
public byte[] ExifVersion { get; set; }
Hodnota nehnuteľnosti
byte []
ExposureBiasValue
Získa alebo nastaví hodnotu expozície bias.
public TiffSRational ExposureBiasValue { get; set; }
Hodnota nehnuteľnosti
ExposureIndex
Získať alebo nastaviť index expozície.
public TiffRational ExposureIndex { get; set; }
Hodnota nehnuteľnosti
ExposureMode
Získajte alebo nastavíte režim expozície.
public ExifExposureMode ExposureMode { get; set; }
Hodnota nehnuteľnosti
ExposureProgram
Získajte alebo nastavíte program expozície.
public ExifExposureProgram ExposureProgram { get; set; }
Hodnota nehnuteľnosti
ExposureTime
Získať alebo nastaviť čas expozície.
public TiffRational ExposureTime { get; set; }
Hodnota nehnuteľnosti
FNumberová
Získať alebo nastaviť číslo F.
public TiffRational FNumber { get; set; }
Hodnota nehnuteľnosti
FileSource
Získať alebo nastaviť typ zdrojového súboru.
public ExifFileSource FileSource { get; set; }
Hodnota nehnuteľnosti
Flash
Dostanete alebo nastavíte flash.
public ExifFlash Flash { get; set; }
Hodnota nehnuteľnosti
FlashEnergy
Získajte alebo nastavíte flash energiu.
public TiffRational FlashEnergy { get; set; }
Hodnota nehnuteľnosti
FlashpixVersion
Získajte alebo nastavíte verziu flash pix.
public byte[] FlashpixVersion { get; set; }
Hodnota nehnuteľnosti
byte []
FocalLength
Získať alebo nastaviť fokálnu dĺžku.
public TiffRational FocalLength { get; set; }
Hodnota nehnuteľnosti
FocalLengthIn35MmFilm
Získať alebo nastaviť fokálnu dĺžku v 35 mm film.
public ushort FocalLengthIn35MmFilm { get; set; }
Hodnota nehnuteľnosti
FocalPlaneResolutionUnit
Získajte alebo nastavíte jednotku rozlíšenia ohniskového lietadla.
public ExifUnit FocalPlaneResolutionUnit { get; set; }
Hodnota nehnuteľnosti
FocalPlaneXRozhodnutie
Získajte alebo nastavíte ohniskovú plochu x rozlíšenie.
public TiffRational FocalPlaneXResolution { get; set; }
Hodnota nehnuteľnosti
FocalPlaneRezolúcia
Získajte alebo nastavíte ohniskovú plochu a rozlíšenie.
public TiffRational FocalPlaneYResolution { get; set; }
Hodnota nehnuteľnosti
GPSVýhody
Získajte alebo nastavíte výšku GPS.
public TiffRational GPSAltitude { get; set; }
Hodnota nehnuteľnosti
GPSVýhody
Získajte alebo nastavíte výšku GPS používanú ako referenčnú výšku.
public ExifGPSAltitudeRef GPSAltitudeRef { get; set; }
Hodnota nehnuteľnosti
GPS Informácie
Získajte alebo nastavíte informácie o oblasti GPS.
public byte[] GPSAreaInformation { get; set; }
Hodnota nehnuteľnosti
byte []
GPSDOP
Získajte alebo nastavíte GPS DOP (úroveň presnosti údajov).
public TiffRational GPSDOP { get; set; }
Hodnota nehnuteľnosti
GPSDateStampová
Získajte alebo nastavíte dátum a časové informácie o zázname znakového pruhu GPS týkajúce sa UTC (Koordinovaný univerzálny čas).
public string GPSDateStamp { get; set; }
Hodnota nehnuteľnosti
GPSDestBearing
Získajte alebo nastavíte GPS nosič na cieľové miesto.
public TiffRational GPSDestBearing { get; set; }
Hodnota nehnuteľnosti
GPSDestBearingRef
Získajte alebo nastavíte referenciu GPS používanú na odovzdanie nosenia na cieľovú lokalitu.
public string GPSDestBearingRef { get; set; }
Hodnota nehnuteľnosti
GPSDestDistance
Získajte alebo nastavíte GPS vzdialenosť na cieľový bod.
public TiffRational GPSDestDistance { get; set; }
Hodnota nehnuteľnosti
GPSDestDistanceRef
Získajte alebo nastavíte GPS jednotku používanú na vyjadrenie vzdialenosti k cieľovej časti.
public string GPSDestDistanceRef { get; set; }
Hodnota nehnuteľnosti
GPSDestLatitude
Získajte alebo nastavíte šírku GPS bodu určenia.
public TiffRational[] GPSDestLatitude { get; set; }
Hodnota nehnuteľnosti
TiffRational []
GPSDestLatitudeRef
Získava alebo nastaví hodnotu GPS, ktorá ukazuje, či je šírka cieľového bodu severná alebo južná šírka.
public string GPSDestLatitudeRef { get; set; }
Hodnota nehnuteľnosti
GPSDestLongitude
Získajte alebo nastavíte dĺžku GPS bodu určenia.
public TiffRational[] GPSDestLongitude { get; set; }
Hodnota nehnuteľnosti
TiffRational []
GPSDestLongitudeRef
Získava alebo nastaví hodnotu GPS, ktorá ukazuje, či je dĺžka cieľového bodu východná alebo západná dĺžka.
public string GPSDestLongitudeRef { get; set; }
Hodnota nehnuteľnosti
GPS rozdiel
Získava alebo nastaví hodnotu GPS, ktorá naznačuje, či sa diferenciálna korekcia aplikuje na prijímač GPS.
public ushort GPSDifferential { get; set; }
Hodnota nehnuteľnosti
GPSImgDirekcia
Dostane alebo nastaví smer GPS obrazu, keď bol zachytený.
public TiffRational GPSImgDirection { get; set; }
Hodnota nehnuteľnosti
GPSImgDirekciaRef
Dostane alebo nastaví GPS referenciu, aby poskytla smer obrazu, keď je zachytený.
public string GPSImgDirectionRef { get; set; }
Hodnota nehnuteľnosti
GPSSúčasť
Získať alebo nastaviť šírku GPS.
public TiffRational[] GPSLatitude { get; set; }
Hodnota nehnuteľnosti
TiffRational []
GPSLatitudeRef →
Získajte alebo nastaviť šírku GPS je severná alebo južná šírka.
public string GPSLatitudeRef { get; set; }
Hodnota nehnuteľnosti
GPS dlhovekosť
Získajte alebo nastavíte dĺžku GPS.
public TiffRational[] GPSLongitude { get; set; }
Hodnota nehnuteľnosti
TiffRational []
GPSLongitudeRef →
Získajte alebo nastaviť dĺžku GPS je východná alebo západná dĺžka.
public string GPSLongitudeRef { get; set; }
Hodnota nehnuteľnosti
GPSMapDátum
Získa alebo nastaví GPS geodetické prieskumné údaje používané prijímačom GPS.
public string GPSMapDatum { get; set; }
Hodnota nehnuteľnosti
GPS rozlíšenie
Získajte alebo nastavíte režim merania GPS.
public string GPSMeasureMode { get; set; }
Hodnota nehnuteľnosti
GPS spracovanie metódy
Získajte alebo nastavíte GPS znakový riadok zaznamenávajúci názov metódy použitého na nájdenie umiestnenia.
public byte[] GPSProcessingMethod { get; set; }
Hodnota nehnuteľnosti
byte []
GPS satelitné
Získava alebo nastaví GPS satelity používané na merania.
public string GPSSatellites { get; set; }
Hodnota nehnuteľnosti
GPS rýchlosť
Získajte alebo nastavíte rýchlosť pohybu prijímača GPS.
public TiffRational GPSSpeed { get; set; }
Hodnota nehnuteľnosti
GPS rýchlosť
Dostane alebo nastaví jednotku používanú na vyjadrenie rýchlosti pohybu prijímača GPS.
public string GPSSpeedRef { get; set; }
Hodnota nehnuteľnosti
GPS štatút
Získava alebo nastaví status GPS prijímača, keď je obrázok zaznamenaný.
public string GPSStatus { get; set; }
Hodnota nehnuteľnosti
GPSTAGS
Získajte alebo nastavíte značky, ktoré patria iba do sekcie GPS.
public TiffDataType[] GPSTags { get; set; }
Hodnota nehnuteľnosti
TiffDataType []
GPSTimestampová
Dostanete alebo nastavíte GPS čas ako UTC (Koordinovaný univerzálny čas).
public TiffRational[] GPSTimestamp { get; set; }
Hodnota nehnuteľnosti
TiffRational []
GPSTracková
Získať alebo nastaviť smer GPS prijímača pohybu.
public string GPSTrack { get; set; }
Hodnota nehnuteľnosti
GPSTrackRef
Získajte alebo nastavíte referenciu na poskytnutie smeru pohybu prijímača GPS.
public string GPSTrackRef { get; set; }
Hodnota nehnuteľnosti
GPS verzia
Získajte alebo nastavíte identifikátor verzie GPS.
public byte[] GPSVersionID { get; set; }
Hodnota nehnuteľnosti
byte []
GainControl
Získať alebo nastaviť stupeň celkového obrazu získať úpravu.
public ExifGainControl GainControl { get; set; }
Hodnota nehnuteľnosti
Gamma
Získať alebo nastaviť gama.
public TiffRational Gamma { get; set; }
Hodnota nehnuteľnosti
speváčka
Získať alebo nastaviť ISO rýchlosť
public uint ISOSpeed { get; set; }
Hodnota nehnuteľnosti
ZľavyLotyšsko
Získava alebo nastaví ISO rýchlosť latitude yyy hodnota fotoaparátu alebo vstupného zariadenia, ktoré je definované v ISO 12232.
public uint ISOSpeedLatitudeYYY { get; set; }
Hodnota nehnuteľnosti
Remarks
Tento štítok nebude zaznamenaný bez ISOSpeed a ISOSpeedLatitudezzz
Názov: ISOSpeedLatitudeZZ
Získava alebo nastaví ISO rýchlosť latitude zzz hodnotu fotoaparátu alebo vstupného zariadenia, ktoré je definované v ISO 12232.
public uint ISOSpeedLatitudeZZZ { get; set; }
Hodnota nehnuteľnosti
Remarks
Tento tag nebude zaznamenaný bez ISOSpeed a ISOSpeedLatitudeyyy
obrázokUniqueID
Získa alebo nastaví jedinečný identifikátor obrazu.
public string ImageUniqueID { get; set; }
Hodnota nehnuteľnosti
IsBigEndian
Získate alebo nastavíte hodnotu, ktorá naznačuje, či tok EXIF údajov vytvorených z je veľký konečný.
[JsonProperty]
public bool IsBigEndian { get; set; }
Hodnota nehnuteľnosti
LensMake
Získať alebo nastaviť tvorcu šošoviek.
public string LensMake { get; set; }
Hodnota nehnuteľnosti
LensModel
Dostane alebo nastaví model šošovky.
public string LensModel { get; set; }
Hodnota nehnuteľnosti
LensSerialNumber
Získať alebo nastaviť sériové číslo šošovky.
public string LensSerialNumber { get; set; }
Hodnota nehnuteľnosti
LensSpecification
Získajte alebo nastavíte špecifikáciu šošovky
public TiffRational[] LensSpecification { get; set; }
Hodnota nehnuteľnosti
TiffRational []
LightSource
Získajte alebo nastavíte zdroj svetla.
public ExifLightSource LightSource { get; set; }
Hodnota nehnuteľnosti
Make
Dostane alebo nastaví výrobcu záznamového zariadenia.
public string Make { get; set; }
Hodnota nehnuteľnosti
MakerNoteData
Získajte dátové poznámky tvorcu.
public TiffDataType[] MakerNoteData { get; }
Hodnota nehnuteľnosti
TiffDataType []
MakerNoteRawData
Získa alebo nastaví tvorca poznámky surových údajov.
public byte[] MakerNoteRawData { get; set; }
Hodnota nehnuteľnosti
byte []
MakerNotes
Obdržíte makerové poznámky.
public MakerNote[] MakerNotes { get; }
Hodnota nehnuteľnosti
MakerNote []
Examples
Prístup k poznámkam výrobcu fotoaparátu v obrázku 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
Získa alebo nastaví maximálnu hodnotu otvoru.
public TiffRational MaxApertureValue { get; set; }
Hodnota nehnuteľnosti
MeteringMode
Získajte alebo nastavíte režim merania.
public ExifMeteringMode MeteringMode { get; set; }
Hodnota nehnuteľnosti
OECF
Dostáva alebo nastaví funkciu optoelektrickej konverzie (OECF) špecifikovanú v ISO 14524.
public byte[] OECF { get; set; }
Hodnota nehnuteľnosti
byte []
Orientation
Získať alebo nastaviť orientáciu.
public ExifOrientation Orientation { get; set; }
Hodnota nehnuteľnosti
PhotographicSensitivity
Získava alebo nastaví fotografickú citlivosť.
public uint PhotographicSensitivity { get; set; }
Hodnota nehnuteľnosti
PixelXDimenzia
Získať alebo nastaviť pixel x rozmer.
public uint PixelXDimension { get; set; }
Hodnota nehnuteľnosti
Pixel rozmer
Získať alebo nastaviť pixel a rozmer.
public uint PixelYDimension { get; set; }
Hodnota nehnuteľnosti
Properties
Získajte alebo nastavíte všetky značky EXIF (vrátane bežných a GPS značiek).
public TiffDataType[] Properties { get; set; }
Hodnota nehnuteľnosti
TiffDataType []
RecommendedExposureIndex
Získať alebo nastaviť odporúčaný index expozície.
public uint RecommendedExposureIndex { get; set; }
Hodnota nehnuteľnosti
RelatedSoundFile
Získať alebo nastaviť súvisiace zvukové súbory.
public string RelatedSoundFile { get; set; }
Hodnota nehnuteľnosti
Saturation
Získajte alebo nastavíte saturáciu.
public ExifSaturation Saturation { get; set; }
Hodnota nehnuteľnosti
SceneCaptureType
Získajte alebo nastavíte typ zachytenia scény.
public ExifSceneCaptureType SceneCaptureType { get; set; }
Hodnota nehnuteľnosti
SceneType
Získať alebo nastaviť typ scény.
public byte SceneType { get; set; }
Hodnota nehnuteľnosti
SensingMethod
Získajte alebo nastavte senzorickú metódu.
public ExifSensingMethod SensingMethod { get; set; }
Hodnota nehnuteľnosti
SensitivityType
Získať alebo nastaviť typ citlivosti.
public ushort SensitivityType { get; set; }
Hodnota nehnuteľnosti
Sharpness
Získať alebo nastaviť ostrosť.
public ushort Sharpness { get; set; }
Hodnota nehnuteľnosti
ShutterSpeedValue
Získajte alebo nastavíte hodnotu rýchlosti vypínača.
public TiffSRational ShutterSpeedValue { get; set; }
Hodnota nehnuteľnosti
SpatialFrequencyResponse
Dostane alebo nastaví reakciu priestorovej frekvencie.
public byte[] SpatialFrequencyResponse { get; set; }
Hodnota nehnuteľnosti
byte []
SpectralSensitivity
Získava alebo nastaví spektrálnu citlivosť.
public string SpectralSensitivity { get; set; }
Hodnota nehnuteľnosti
StandardOutputSensitivity
Získa alebo nastaví štandardnú citlivosť výstupu
public uint StandardOutputSensitivity { get; set; }
Hodnota nehnuteľnosti
SubjectArea
Získať alebo nastaviť predmetnú oblasť.
public ushort[] SubjectArea { get; set; }
Hodnota nehnuteľnosti
ushort []
SubjectDistance
Získať alebo nastaviť predmet vzdialenosť.
public TiffRational SubjectDistance { get; set; }
Hodnota nehnuteľnosti
SubjectDistanceRange
Získať alebo nastaviť predmet rozsah vzdialenosti.
public ExifSubjectDistanceRange SubjectDistanceRange { get; set; }
Hodnota nehnuteľnosti
SubjectLocation
Získať alebo nastaviť položku predmetu.
public ushort[] SubjectLocation { get; set; }
Hodnota nehnuteľnosti
ushort []
SubsecTime
Získajte alebo nastavíte frakcie sekúnd pre značku DateTime.
public string SubsecTime { get; set; }
Hodnota nehnuteľnosti
SubsecTimeDigitized
Získajte alebo nastavíte frakcie sekúnd pre tag DateTimeDigitalizované.
public string SubsecTimeDigitized { get; set; }
Hodnota nehnuteľnosti
SubsecTimeOriginal
Získajte alebo nastavíte frakcie sekúnd pre tag DateTimeOriginal.
public string SubsecTimeOriginal { get; set; }
Hodnota nehnuteľnosti
UserComment
Dostane alebo nastaví komentár používateľa.
public string UserComment { get; set; }
Hodnota nehnuteľnosti
WhiteBalance
Získať alebo nastaviť bielu rovnováhu.
public ExifWhiteBalance WhiteBalance { get; set; }
Hodnota nehnuteľnosti
WhitePoint
Získa alebo nastaví chromaticitu bieleho bodu obrazu.
public TiffRational[] WhitePoint { get; set; }
Hodnota nehnuteľnosti
TiffRational []
Methods
GetShortOrLong(Ťažko)
Dostane krátku alebo dlhú hodnotu.
protected uint GetShortOrLong(ushort key)
Parameters
key
ushort
Kľúč k získaniu hodnoty.
Returns
Krátka alebo dlhá hodnota konvertovaná na integer.
RemoveTag(ExifProperties)
Odstrániť tag z kontajnera
public void RemoveTag(ExifProperties tag)
Parameters
tag
ExifProperties
Tagy na odstránenie
RemoveTag(Ťažko)
Odstrániť tag z kontajnera
public void RemoveTag(ushort tagId)
Parameters
tagId
ushort
Tagy identifikátor odstrániť.
SetShortOrLong(Ťažko, Ťažko, int)
Zadajte krátku alebo dlhú hodnotu v závislosti od hodnoty.
protected void SetShortOrLong(ushort key, uint value, int section)
Parameters
key
ushort
Kľúč na nastavenie.
value
uint
Hodnota na nastavenie.
section
int
V sekcii, na ktorú sa vstupuje.