public final class JpegExifData
extends com.aspose.cad.exif.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(com.aspose.cad.fileformats.tiff.TiffDataType[] exifdata)
Initializes a new instance of the
JpegExifData class with data from array. |
JpegExifData(com.aspose.cad.fileformats.tiff.TiffDataType[] commonTags,
com.aspose.cad.fileformats.tiff.TiffDataType[] exifTags,
com.aspose.cad.fileformats.tiff.TiffDataType[] gpsTags)
Initializes a new instance of the
JpegExifData class with data from array. |
Modifier and Type | Method and Description |
---|---|
String |
getArtist()
Gets or sets the artist.
|
int[] |
getBitsPerSample()
Gets or sets the bits per sample.
|
int |
getCompression()
Gets or sets the compression.
|
String |
getCopyright()
Gets or sets the copyright.
|
String |
getDateTime()
Gets or sets the date time.
|
String |
getImageDescription()
Gets or sets the image description.
|
long |
getImageLength()
Gets or sets the image length.
|
long |
getImageWidth()
Gets or sets the image width.
|
String |
getModel()
Gets or sets the model.
|
int |
getOrientation()
Gets or sets the orientation.
|
int |
getPhotometricInterpretation()
Gets or sets the photometric interpretation.
|
int |
getPlanarConfiguration()
Gets or sets the planar configuration.
|
com.aspose.cad.fileformats.tiff.TiffRational[] |
getPrimaryChromaticities()
Gets or sets the chromaticity of the three primary colors of the image.
|
com.aspose.cad.fileformats.tiff.TiffRational[] |
getReferenceBlackWhite()
Gets or sets the reference black white.
|
int |
getResolutionUnit()
Gets or sets the resolution unit.
|
int |
getSamplesPerPixel()
Gets or sets the samples per pixel.
|
String |
getSoftware()
Gets or sets the software.
|
RasterImage |
getThumbnail()
Gets or sets the thumbnail image.
|
int[] |
getTransferFunction()
Gets or sets the transfer function.
|
com.aspose.cad.fileformats.tiff.TiffRational |
getXResolution()
Gets or sets the x resolution.
|
com.aspose.cad.fileformats.tiff.TiffRational[] |
getYCbCrCoefficients()
Gets or sets the matrix coefficients for transformation from RGB to YCbCr image data.
|
int |
getYCbCrPositioning()
Gets or sets the position of chrominance components in relation to the luminance component.
|
int[] |
getYCbCrSubSampling()
Gets or sets the sampling ratio of chrominance components in relation to the luminance component.
|
com.aspose.cad.fileformats.tiff.TiffRational |
getYResolution()
Gets or sets the y resolution.
|
byte[] |
serializeExifData()
Serializes the EXIF data.
|
void |
setArtist(String value)
Gets or sets the artist.
|
void |
setBitsPerSample(int[] value)
Gets or sets the bits per sample.
|
void |
setCompression(int value)
Gets or sets the compression.
|
void |
setCopyright(String value)
Gets or sets the copyright.
|
void |
setDateTime(String value)
Gets or sets the date time.
|
void |
setImageDescription(String value)
Gets or sets the image description.
|
void |
setImageLength(long value)
Gets or sets the image length.
|
void |
setImageWidth(long value)
Gets or sets the image width.
|
void |
setModel(String value)
Gets or sets the model.
|
void |
setOrientation(int value)
Gets or sets the orientation.
|
void |
setPhotometricInterpretation(int value)
Gets or sets the photometric interpretation.
|
void |
setPlanarConfiguration(int value)
Gets or sets the planar configuration.
|
void |
setPrimaryChromaticities(com.aspose.cad.fileformats.tiff.TiffRational[] value)
Gets or sets the chromaticity of the three primary colors of the image.
|
void |
setReferenceBlackWhite(com.aspose.cad.fileformats.tiff.TiffRational[] value)
Gets or sets the reference black white.
|
void |
setResolutionUnit(int value)
Gets or sets the resolution unit.
|
void |
setSamplesPerPixel(int value)
Gets or sets the samples per pixel.
|
void |
setSoftware(String value)
Gets or sets the software.
|
void |
setThumbnail(RasterImage value)
Gets or sets the thumbnail image.
|
void |
setTransferFunction(int[] value)
Gets or sets the transfer function.
|
void |
setXResolution(com.aspose.cad.fileformats.tiff.TiffRational value)
Gets or sets the x resolution.
|
void |
setYCbCrCoefficients(com.aspose.cad.fileformats.tiff.TiffRational[] value)
Gets or sets the matrix coefficients for transformation from RGB to YCbCr image data.
|
void |
setYCbCrPositioning(int value)
Gets or sets the position of chrominance components in relation to the luminance component.
|
void |
setYCbCrSubSampling(int[] value)
Gets or sets the sampling ratio of chrominance components in relation to the luminance component.
|
void |
setYResolution(com.aspose.cad.fileformats.tiff.TiffRational value)
Gets or sets the y resolution.
|
getApertureValue, getBodySerialNumber, getBrightnessValue, getCameraOwnerName, getCFAPattern, getColorSpace, getCommonTags, getComponentsConfiguration, getCompressedBitsPerPixel, getContrast, getCustomRendered, getDateTimeDigitized, getDateTimeOriginal, getDeviceSettingDescription, getDigitalZoomRatio, getExifTags, getExifVersion, getExposureBiasValue, getExposureIndex, getExposureMode, getExposureProgram, getExposureTime, getFileSource, getFlash, getFlashEnergy, getFlashpixVersion, getFNumber, getFocalLength, getFocalLengthIn35MmFilm, getFocalPlaneResolutionUnit, getFocalPlaneXResolution, getFocalPlaneYResolution, getGainControl, getGamma, getGPSAltitude, getGPSAltitudeRef, getGPSAreaInformation, getGPSDateStamp, getGPSDestBearing, getGPSDestBearingRef, getGPSDestDistance, getGPSDestDistanceRef, getGPSDestLatitude, getGPSDestLatitudeRef, getGPSDestLongitude, getGPSDestLongitudeRef, getGPSDifferential, getGPSDOP, getGPSImgDirection, getGPSImgDirectionRef, getGPSLatitude, getGPSLatitudeRef, getGPSLongitude, getGPSLongitudeRef, getGPSMapDatum, getGPSMeasureMode, getGPSProcessingMethod, getGPSSatellites, getGPSSpeed, getGPSSpeedRef, getGPSStatus, getGPSTags, getGPSTimestamp, getGPSTrack, getGPSTrackRef, getGPSVersionID, getImageUniqueID, getISOSpeed, getISOSpeedLatitudeYYY, getISOSpeedLatitudeZZZ, getLensMake, getLensModel, getLensSerialNumber, getLensSpecification, getLightSource, getMake, getMakerNoteData, getMakerNoteRawData, getMakerNotes, getMaxApertureValue, getMeteringMode, getOECF, getPhotographicSensitivity, getPixelXDimension, getPixelYDimension, getProperties, getRecommendedExposureIndex, getRelatedSoundFile, getSaturation, getSceneCaptureType, getSceneType, getSensingMethod, getSensitivityType, getSharpness, getShutterSpeedValue, getSpatialFrequencyResponse, getSpectralSensitivity, getStandardOutputSensitivity, getSubjectArea, getSubjectDistance, getSubjectDistanceRange, getSubjectLocation, getSubsecTime, getSubsecTimeDigitized, getSubsecTimeOriginal, getUserComment, getWhiteBalance, getWhitePoint, isBigEndian, removeTag, setApertureValue, setBigEndian, setBodySerialNumber, setBrightnessValue, setCameraOwnerName, setCFAPattern, setColorSpace, setCommonTags, setComponentsConfiguration, setCompressedBitsPerPixel, setContrast, setCustomRendered, setDateTimeDigitized, setDateTimeOriginal, setDeviceSettingDescription, setDigitalZoomRatio, setExifTags, setExifVersion, setExposureBiasValue, setExposureIndex, setExposureMode, setExposureProgram, setExposureTime, setFileSource, setFlash, setFlashEnergy, setFlashpixVersion, setFNumber, setFocalLength, setFocalLengthIn35MmFilm, setFocalPlaneResolutionUnit, setFocalPlaneXResolution, setFocalPlaneYResolution, setGainControl, setGamma, setGPSAltitude, setGPSAltitudeRef, setGPSAreaInformation, setGPSDateStamp, setGPSDestBearing, setGPSDestBearingRef, setGPSDestDistance, setGPSDestDistanceRef, setGPSDestLatitude, setGPSDestLatitudeRef, setGPSDestLongitude, setGPSDestLongitudeRef, setGPSDifferential, setGPSDOP, setGPSImgDirection, setGPSImgDirectionRef, setGPSLatitude, setGPSLatitudeRef, setGPSLongitude, setGPSLongitudeRef, setGPSMapDatum, setGPSMeasureMode, setGPSProcessingMethod, setGPSSatellites, setGPSSpeed, setGPSSpeedRef, setGPSStatus, setGPSTags, setGPSTimestamp, setGPSTrack, setGPSTrackRef, setGPSVersionID, setImageUniqueID, setISOSpeed, setISOSpeedLatitudeYYY, setISOSpeedLatitudeZZZ, setLensMake, setLensModel, setLensSerialNumber, setLensSpecification, setLightSource, setMake, setMakerNoteRawData, setMaxApertureValue, setMeteringMode, setOECF, setPhotographicSensitivity, setPixelXDimension, setPixelYDimension, setProperties, setRecommendedExposureIndex, setRelatedSoundFile, setSaturation, setSceneCaptureType, setSceneType, setSensingMethod, setSensitivityType, setSharpness, setShutterSpeedValue, setSpatialFrequencyResponse, setSpectralSensitivity, setStandardOutputSensitivity, setSubjectArea, setSubjectDistance, setSubjectDistanceRange, setSubjectLocation, setSubsecTime, setSubsecTimeDigitized, setSubsecTimeOriginal, setUserComment, setWhiteBalance, setWhitePoint
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(com.aspose.cad.fileformats.tiff.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(com.aspose.cad.fileformats.tiff.TiffDataType[] commonTags, com.aspose.cad.fileformats.tiff.TiffDataType[] exifTags, com.aspose.cad.fileformats.tiff.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 getArtist()
Gets or sets the artist.
public void setArtist(String value)
Gets or sets the artist.
value
- The artist.public int[] getBitsPerSample()
Gets or sets the bits per sample.
public void setBitsPerSample(int[] value)
Gets or sets the bits per sample.
value
- The bits per sample.public int getCompression()
Gets or sets the compression.
public void setCompression(int value)
Gets or sets the compression.
value
- The compression.public String getCopyright()
Gets or sets the copyright.
public void setCopyright(String value)
Gets or sets the copyright.
value
- The copyright.public String getDateTime()
Gets or sets the date time.
public void setDateTime(String value)
Gets or sets the date time.
value
- The date time.public String getImageDescription()
Gets or sets the image description.
public void setImageDescription(String value)
Gets or sets the image description.
value
- The image description.public long getImageLength()
Gets or sets the image length.
public void setImageLength(long value)
Gets or sets the image length.
value
- The length of the image.public long getImageWidth()
Gets or sets the image width.
public void setImageWidth(long value)
Gets or sets the image width.
value
- The width of the image.public String getModel()
Gets or sets the model.
public void setModel(String value)
Gets or sets the model.
value
- The model.public int getOrientation()
Gets or sets the orientation.
public void setOrientation(int value)
Gets or sets the orientation.
value
- The orientation.public int getPhotometricInterpretation()
Gets or sets the photometric interpretation.
public void setPhotometricInterpretation(int value)
Gets or sets the photometric interpretation.
value
- The photometric interpretation.public int getPlanarConfiguration()
Gets or sets the planar configuration.
public void setPlanarConfiguration(int value)
Gets or sets the planar configuration.
value
- The planar configuration.public com.aspose.cad.fileformats.tiff.TiffRational[] getPrimaryChromaticities()
Gets or sets the chromaticity of the three primary colors of the image.
public void setPrimaryChromaticities(com.aspose.cad.fileformats.tiff.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 com.aspose.cad.fileformats.tiff.TiffRational[] getReferenceBlackWhite()
Gets or sets the reference black white.
public void setReferenceBlackWhite(com.aspose.cad.fileformats.tiff.TiffRational[] value)
Gets or sets the reference black white.
value
- The reference black white.public int getResolutionUnit()
Gets or sets the resolution unit.
public void setResolutionUnit(int value)
Gets or sets the resolution unit.
value
- The resolution unit.public int getSamplesPerPixel()
Gets or sets the samples per pixel.
public void setSamplesPerPixel(int value)
Gets or sets the samples per pixel.
value
- The samples per pixel.public String getSoftware()
Gets or sets the software.
public void setSoftware(String value)
Gets or sets the software.
value
- The software.public RasterImage getThumbnail()
Gets or sets the thumbnail image.
public void setThumbnail(RasterImage value)
Gets or sets the thumbnail image.
value
- The thumbnail.public int[] getTransferFunction()
Gets or sets the transfer function.
public void setTransferFunction(int[] value)
Gets or sets the transfer function.
value
- The transfer function.public com.aspose.cad.fileformats.tiff.TiffRational getXResolution()
Gets or sets the x resolution.
public void setXResolution(com.aspose.cad.fileformats.tiff.TiffRational value)
Gets or sets the x resolution.
value
- The x resolution.public com.aspose.cad.fileformats.tiff.TiffRational[] getYCbCrCoefficients()
Gets or sets the matrix coefficients for transformation from RGB to YCbCr image data.
public void setYCbCrCoefficients(com.aspose.cad.fileformats.tiff.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 getYCbCrPositioning()
Gets or sets the position of chrominance components in relation to the luminance component.
public void setYCbCrPositioning(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[] getYCbCrSubSampling()
Gets or sets the sampling ratio of chrominance components in relation to the luminance component.
public void setYCbCrSubSampling(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 com.aspose.cad.fileformats.tiff.TiffRational getYResolution()
Gets or sets the y resolution.
public void setYResolution(com.aspose.cad.fileformats.tiff.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.