public final class JpegExifData extends ExifData
EXIF data container for jpeg files.
Modifier and Type | Field and Description |
---|---|
static int |
MAX_EXIF_SEGMENT_SIZE
The maximum EXIF segment size in bytes allowed.
|
Constructor and Description |
---|
JpegExifData()
Initializes a new instance of the
JpegExifData class. |
JpegExifData(TiffDataType[] exifdata)
Initializes a new instance of the
JpegExifData class with data from array. |
JpegExifData(TiffDataType[] commonTags,
TiffDataType[] exifTags,
TiffDataType[] gpsTags)
Initializes a new instance of the
JpegExifData class with data from array. |
Modifier and Type | Method and Description |
---|---|
String |
get_Artist()
Gets or sets the artist.
|
int[] |
get_BitsPerSample()
Gets or sets the bits per sample.
|
int |
get_Compression()
Gets or sets the compression.
|
String |
get_Copyright()
Gets or sets the copyright.
|
String |
get_DateTime()
Gets or sets the date time.
|
String |
get_ImageDescription()
Gets or sets the image description.
|
long |
get_ImageLength()
Gets or sets the image length.
|
long |
get_ImageWidth()
Gets or sets the image width.
|
String |
get_Make()
Gets or sets the manufacturer of the recording equipment.
|
String |
get_Model()
Gets or sets the model.
|
int |
get_Orientation()
Gets or sets the orientation.
|
int |
get_PhotometricInterpretation()
Gets or sets the photometric interpretation.
|
int |
get_PlanarConfiguration()
Gets or sets the planar configuration.
|
TiffRational[] |
get_PrimaryChromaticities()
Gets or sets the chromaticity of the three primary colors of the image.
|
TiffRational[] |
get_ReferenceBlackWhite()
Gets or sets the reference black white.
|
int |
get_ResolutionUnit()
Gets or sets the resolution unit.
|
int |
get_SamplesPerPixel()
Gets or sets the samples per pixel.
|
String |
get_Software()
Gets or sets the software.
|
RasterImage |
get_Thumbnail()
Gets or sets the thumbnail image.
|
int[] |
get_TransferFunction()
Gets or sets the transfer function.
|
TiffRational |
get_XResolution()
Gets or sets the x resolution.
|
TiffRational[] |
get_YCbCrCoefficients()
Gets or sets the matrix coefficients for transformation from RGB to YCbCr image data.
|
int |
get_YCbCrPositioning()
Gets or sets the position of chrominance components in relation to the luminance component.
|
int[] |
get_YCbCrSubSampling()
Gets or sets the sampling ratio of chrominance components in relation to the luminance component.
|
TiffRational |
get_YResolution()
Gets or sets the y resolution.
|
byte[] |
serializeExifData()
Serializes the EXIF data.
|
void |
set_Artist(String value)
Gets or sets the artist.
|
void |
set_BitsPerSample(int[] value)
Gets or sets the bits per sample.
|
void |
set_Compression(int value)
Gets or sets the compression.
|
void |
set_Copyright(String value)
Gets or sets the copyright.
|
void |
set_DateTime(String value)
Gets or sets the date time.
|
void |
set_ImageDescription(String value)
Gets or sets the image description.
|
void |
set_ImageLength(long value)
Gets or sets the image length.
|
void |
set_ImageWidth(long value)
Gets or sets the image width.
|
void |
set_Make(String value)
Gets or sets the manufacturer of the recording equipment.
|
void |
set_Model(String value)
Gets or sets the model.
|
void |
set_Orientation(int value)
Gets or sets the orientation.
|
void |
set_PhotometricInterpretation(int value)
Gets or sets the photometric interpretation.
|
void |
set_PlanarConfiguration(int value)
Gets or sets the planar configuration.
|
void |
set_PrimaryChromaticities(TiffRational[] value)
Gets or sets the chromaticity of the three primary colors of the image.
|
void |
set_ReferenceBlackWhite(TiffRational[] value)
Gets or sets the reference black white.
|
void |
set_ResolutionUnit(int value)
Gets or sets the resolution unit.
|
void |
set_SamplesPerPixel(int value)
Gets or sets the samples per pixel.
|
void |
set_Software(String value)
Gets or sets the software.
|
void |
set_Thumbnail(RasterImage value)
Gets or sets the thumbnail image.
|
void |
set_TransferFunction(int[] value)
Gets or sets the transfer function.
|
void |
set_XResolution(TiffRational value)
Gets or sets the x resolution.
|
void |
set_YCbCrCoefficients(TiffRational[] value)
Gets or sets the matrix coefficients for transformation from RGB to YCbCr image data.
|
void |
set_YCbCrPositioning(int value)
Gets or sets the position of chrominance components in relation to the luminance component.
|
void |
set_YCbCrSubSampling(int[] value)
Gets or sets the sampling ratio of chrominance components in relation to the luminance component.
|
void |
set_YResolution(TiffRational value)
Gets or sets the y resolution.
|
get_ApertureValue, get_BodySerialNumber, get_BrightnessValue, get_CameraOwnerName, get_CFAPattern, get_ColorSpace, get_ComponentsConfiguration, get_CompressedBitsPerPixel, get_Contrast, get_CustomRendered, get_DateTimeDigitized, get_DateTimeOriginal, get_DeviceSettingDescription, get_DigitalZoomRatio, get_ExifVersion, get_ExposureBiasValue, get_ExposureIndex, get_ExposureMode, get_ExposureProgram, get_ExposureTime, get_FileSource, get_Flash, get_FlashEnergy, get_FlashpixVersion, get_FNumber, get_FocalLength, get_FocalLengthIn35MmFilm, get_FocalPlaneResolutionUnit, get_FocalPlaneXResolution, get_FocalPlaneYResolution, get_GainControl, get_Gamma, get_GPSAltitude, get_GPSAltitudeRef, get_GPSAreaInformation, get_GPSDateStamp, get_GPSDestBearing, get_GPSDestBearingRef, get_GPSDestDistance, get_GPSDestDistanceRef, get_GPSDestLatitude, get_GPSDestLatitudeRef, get_GPSDestLongitude, get_GPSDestLongitudeRef, get_GPSDifferential, get_GPSDOP, get_GPSImgDirection, get_GPSImgDirectionRef, get_GPSLatitude, get_GPSLatitudeRef, get_GPSLongitude, get_GPSLongitudeRef, get_GPSMapDatum, get_GPSMeasureMode, get_GPSProcessingMethod, get_GPSSatellites, get_GPSSpeed, get_GPSSpeedRef, get_GPSStatus, get_GPSTimestamp, get_GPSTrack, get_GPSTrackRef, get_GPSVersionID, get_ImageUniqueID, get_ISOSpeed, get_ISOSpeedLatitudeYYY, get_ISOSpeedLatitudeZZZ, get_LensMake, get_LensModel, get_LensSerialNumber, get_LensSpecification, get_LightSource, get_MaxApertureValue, get_MeteringMode, get_OECF, get_PhotographicSensitivity, get_PixelXDimension, get_PixelYDimension, get_RecommendedExposureIndex, get_RelatedSoundFile, get_Saturation, get_SceneCaptureType, get_SceneType, get_SensingMethod, get_SensitivityType, get_Sharpness, get_ShutterSpeedValue, get_SpatialFrequencyResponse, get_SpectralSensitivity, get_StandardOutputSensitivity, get_SubjectArea, get_SubjectDistance, get_SubjectDistanceRange, get_SubjectLocation, get_SubsecTime, get_SubsecTimeDigitized, get_SubsecTimeOriginal, get_UserComment, get_WhiteBalance, get_WhitePoint, getCommonTags, getExifTags, getGPSTags, getMakerNoteData, getMakerNoteRawData, getProperties, isBigEndian, removeTag, set_ApertureValue, set_BodySerialNumber, set_BrightnessValue, set_CameraOwnerName, set_CFAPattern, set_ColorSpace, set_ComponentsConfiguration, set_CompressedBitsPerPixel, set_Contrast, set_CustomRendered, set_DateTimeDigitized, set_DateTimeOriginal, set_DeviceSettingDescription, set_DigitalZoomRatio, set_ExifVersion, set_ExposureBiasValue, set_ExposureIndex, set_ExposureMode, set_ExposureProgram, set_ExposureTime, set_FileSource, set_Flash, set_FlashEnergy, set_FlashpixVersion, set_FNumber, set_FocalLength, set_FocalLengthIn35MmFilm, set_FocalPlaneResolutionUnit, set_FocalPlaneXResolution, set_FocalPlaneYResolution, set_GainControl, set_Gamma, set_GPSAltitude, set_GPSAltitudeRef, set_GPSAreaInformation, set_GPSDateStamp, set_GPSDestBearing, set_GPSDestBearingRef, set_GPSDestDistance, set_GPSDestDistanceRef, set_GPSDestLatitude, set_GPSDestLatitudeRef, set_GPSDestLongitude, set_GPSDestLongitudeRef, set_GPSDifferential, set_GPSDOP, set_GPSImgDirection, set_GPSImgDirectionRef, set_GPSLatitude, set_GPSLatitudeRef, set_GPSLongitude, set_GPSLongitudeRef, set_GPSMapDatum, set_GPSMeasureMode, set_GPSProcessingMethod, set_GPSSatellites, set_GPSSpeed, set_GPSSpeedRef, set_GPSStatus, set_GPSTimestamp, set_GPSTrack, set_GPSTrackRef, set_GPSVersionID, set_ImageUniqueID, set_ISOSpeed, set_ISOSpeedLatitudeYYY, set_ISOSpeedLatitudeZZZ, set_LensMake, set_LensModel, set_LensSerialNumber, set_LensSpecification, set_LightSource, set_MaxApertureValue, set_MeteringMode, set_OECF, set_PhotographicSensitivity, set_PixelXDimension, set_PixelYDimension, set_RecommendedExposureIndex, set_RelatedSoundFile, set_Saturation, set_SceneCaptureType, set_SceneType, set_SensingMethod, set_SensitivityType, set_Sharpness, set_ShutterSpeedValue, set_SpatialFrequencyResponse, set_SpectralSensitivity, set_StandardOutputSensitivity, set_SubjectArea, set_SubjectDistance, set_SubjectDistanceRange, set_SubjectLocation, set_SubsecTime, set_SubsecTimeDigitized, set_SubsecTimeOriginal, set_UserComment, set_WhiteBalance, set_WhitePoint, setBigEndian, setCommonTags, setExifTags, setGPSTags, setMakerNoteRawData, setProperties
public static final int MAX_EXIF_SEGMENT_SIZE
The maximum EXIF segment size in bytes allowed.
public JpegExifData()
Initializes a new instance of the JpegExifData
class.
public JpegExifData(TiffDataType[] exifdata)
Initializes a new instance of the JpegExifData
class with data from array.
exifdata
- Array of EXIF tags together with common and GPS tags.public JpegExifData(TiffDataType[] commonTags, TiffDataType[] exifTags, TiffDataType[] gpsTags)
Initializes a new instance of the JpegExifData
class with data from array.
commonTags
- The common tags.exifTags
- The EXIF tags.gpsTags
- The GPS tags.public String get_Artist()
Gets or sets the artist.
Value: The artist.public void set_Artist(String value)
Gets or sets the artist.
Value: The artist.public int[] get_BitsPerSample()
Gets or sets the bits per sample.
Value: The bits per sample.public void set_BitsPerSample(int[] value)
Gets or sets the bits per sample.
Value: The bits per sample.public int get_Compression()
Gets or sets the compression.
Value: The compression.public void set_Compression(int value)
Gets or sets the compression.
Value: The compression.public String get_Copyright()
Gets or sets the copyright.
Value: The copyright.public void set_Copyright(String value)
Gets or sets the copyright.
Value: The copyright.public String get_DateTime()
Gets or sets the date time.
Value: The date time.public void set_DateTime(String value)
Gets or sets the date time.
Value: The date time.public String get_ImageDescription()
Gets or sets the image description.
Value: The image description.public void set_ImageDescription(String value)
Gets or sets the image description.
Value: The image description.public long get_ImageLength()
Gets or sets the image length.
Value: The length of the image.public void set_ImageLength(long value)
Gets or sets the image length.
Value: The length of the image.public long get_ImageWidth()
Gets or sets the image width.
Value: The width of the image.public void set_ImageWidth(long value)
Gets or sets the image width.
Value: The width of the image.public String get_Make()
Gets or sets the manufacturer of the recording equipment.
Value: The manufacturer of the recording equipment.public void set_Make(String value)
Gets or sets the manufacturer of the recording equipment.
Value: The manufacturer of the recording equipment.public String get_Model()
Gets or sets the model.
Value: The model.public void set_Model(String value)
Gets or sets the model.
Value: The model.public int get_Orientation()
Gets or sets the orientation.
Value: The orientation.public void set_Orientation(int value)
Gets or sets the orientation.
Value: The orientation.public int get_PhotometricInterpretation()
Gets or sets the photometric interpretation.
Value: The photometric interpretation.public void set_PhotometricInterpretation(int value)
Gets or sets the photometric interpretation.
Value: The photometric interpretation.public int get_PlanarConfiguration()
Gets or sets the planar configuration.
Value: The planar configuration.public void set_PlanarConfiguration(int value)
Gets or sets the planar configuration.
Value: The planar configuration.public TiffRational[] get_PrimaryChromaticities()
Gets or sets the chromaticity of the three primary colors of the image.
Value: The chromaticity of the three primary colors of the image.public void set_PrimaryChromaticities(TiffRational[] value)
Gets or sets the chromaticity of the three primary colors of the image.
Value: The chromaticity of the three primary colors of the image.public TiffRational[] get_ReferenceBlackWhite()
Gets or sets the reference black white.
Value: The reference black white.public void set_ReferenceBlackWhite(TiffRational[] value)
Gets or sets the reference black white.
Value: The reference black white.public int get_ResolutionUnit()
Gets or sets the resolution unit.
Value: The resolution unit.public void set_ResolutionUnit(int value)
Gets or sets the resolution unit.
Value: The resolution unit.public int get_SamplesPerPixel()
Gets or sets the samples per pixel.
Value: The samples per pixel.public void set_SamplesPerPixel(int value)
Gets or sets the samples per pixel.
Value: The samples per pixel.public String get_Software()
Gets or sets the software.
Value: The software.public void set_Software(String value)
Gets or sets the software.
Value: The software.public RasterImage get_Thumbnail()
Gets or sets the thumbnail image.
Value: The thumbnail.public void set_Thumbnail(RasterImage value)
Gets or sets the thumbnail image.
Value: The thumbnail.public int[] get_TransferFunction()
Gets or sets the transfer function.
Value: The transfer function.public void set_TransferFunction(int[] value)
Gets or sets the transfer function.
Value: The transfer function.public TiffRational get_XResolution()
Gets or sets the x resolution.
Value: The x resolution.public void set_XResolution(TiffRational value)
Gets or sets the x resolution.
Value: The x resolution.public TiffRational[] get_YCbCrCoefficients()
Gets or sets the matrix coefficients for transformation from RGB to YCbCr image data.
Value: The matrix coefficients for transformation from RGB to YCbCr image data.public void set_YCbCrCoefficients(TiffRational[] value)
Gets or sets the matrix coefficients for transformation from RGB to YCbCr image data.
Value: The matrix coefficients for transformation from RGB to YCbCr image data.public int get_YCbCrPositioning()
Gets or sets the position of chrominance components in relation to the luminance component.
Value: The position of chrominance components in relation to the luminance component.public void set_YCbCrPositioning(int value)
Gets or sets the position of chrominance components in relation to the luminance component.
Value: The position of chrominance components in relation to the luminance component.public int[] get_YCbCrSubSampling()
Gets or sets the sampling ratio of chrominance components in relation to the luminance component.
Value: The sampling ratio of chrominance components in relation to the luminance component.public void set_YCbCrSubSampling(int[] value)
Gets or sets the sampling ratio of chrominance components in relation to the luminance component.
Value: The sampling ratio of chrominance components in relation to the luminance component.public TiffRational get_YResolution()
Gets or sets the y resolution.
Value: The y resolution.public void set_YResolution(TiffRational value)
Gets or sets the y resolution.
Value: The y resolution.public byte[] serializeExifData()
Serializes the EXIF data. Writes the tags values and contents. The most influencing size tag is Thumbnail tag contents.
The overall segment size must be less than or equal to MaxExifSegmentSize bytes in order to produce correct jpeg image. Hint: try to reduce the thumbnail size or change its compression in case you have too big EXIF section size.
Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.