class TExifWriterUtility |
This class offers a friendly interface to write the metadata in exif encoded image files
Note: Unless otherwise stated in a method's documentation, it should be assumed that TInt arguments are representing unsigned quantities, even though TInt is a signed type. So unless otherwise stated, these parameters should be given unsigned values only.
Private Attributes | |
---|---|
MExifMetadataWriter * | iExifWrite |
IMPORT_C | TExifWriterUtility | ( | MExifMetadataWriter * | aExifMetadata | ) |
Constructor
instantiates the exif writer utility. Note: no method on this utility should be used after the metadate has been destroyed
MExifMetadataWriter * aExifMetadata | the metadata class on which to read the tags |
IMPORT_C TInt | SetColorSpace | ( | TInt | aColorSpace | ) |
Sets the colorSpace tag value of the metadata.
Note: aColorSpace may only take unsigned short (16-bit) values.
TInt aColorSpace | the colorSpace value |
IMPORT_C TInt | SetComponentsConfiguration | ( | HBufC8 * | aComponentsConfig | ) |
Sets the componentsConfiguration tag value of the metadata.
HBufC8 * aComponentsConfig | the componentsConfiguration value |
IMPORT_C TInt | SetCopyright | ( | HBufC8 * | aCopyright | ) |
Sets the copyright tag value of the metadata.
HBufC8 * aCopyright | the copyright value. |
IMPORT_C TInt | SetDateTime | ( | HBufC8 * | aDateTime | ) |
Sets the dateTime tag value of the metadata.
HBufC8 * aDateTime | the dateTime value |
IMPORT_C TInt | SetDateTimeDigitized | ( | HBufC8 * | aDateTime | ) |
Sets the dateTimeDigitized tag value of the metadata.
HBufC8 * aDateTime | the dateTimeDigitized value |
IMPORT_C TInt | SetDateTimeOriginal | ( | HBufC8 * | aDateTime | ) |
Sets the dateTimeOriginal tag value of the metadata.
HBufC8 * aDateTime | the dateTimeOriginal value |
IMPORT_C TInt | SetExifVersion | ( | HBufC8 * | aExifVersion | ) |
Sets the exifVersion tag value of the metadata.
HBufC8 * aExifVersion | the exifVersion value |
IMPORT_C TInt | SetFlash | ( | TUint16 | aFlash | ) |
Sets the flash tag value of the metadata.
TUint16 aFlash | the flash value. |
IMPORT_C TInt | SetFlashPixVersion | ( | HBufC8 * | aFlashPixVer | ) |
Sets the flashpixVersion tag value of the metadata.
HBufC8 * aFlashPixVer | the flashpixVersion value |
IMPORT_C TInt | SetFocalLength | ( | TInt | aNumerator, |
TInt | aDenominator | |||
) |
Sets the focal length tag value of the metadata.
IMPORT_C TInt | SetGpsAltitude | ( | TInt | aNumerator, |
TInt | aDenominator | |||
) |
Sets the gps altitude tag value of the metadata.
IMPORT_C TInt | SetGpsAltitudeRef | ( | TUint8 | aGpsAltitudeRef | ) |
Sets the gps altitude reference tag value of the metadata.
TUint8 aGpsAltitudeRef | the altitude reference value. |
IMPORT_C TInt | SetGpsAreaInformation | ( | HBufC8 * | aGpsAreaInformation | ) |
Sets the name of gps area tag value of the metadata.
Note: According to the Exif 2.2 specification, the first 8 bytes of aGpsAreaInformation must contain a Character Code to indicate the type of encoding used. See table 6 of the Exif 2.2 specification for a list of codes.
HBufC8 * aGpsAreaInformation | the name of gps area value. |
IMPORT_C TInt | SetGpsDateStamp | ( | HBufC8 * | aDateStamp | ) |
Sets the gps date tag value of the metadata.
HBufC8 * aDateStamp | the gps date value. |
IMPORT_C TInt | SetGpsDestBearing | ( | TInt | aNumerator, |
TInt | aDenominator | |||
) |
Sets the gps bearing of destination tag value of the metadata.
IMPORT_C TInt | SetGpsDestBearingRef | ( | HBufC8 * | aGpsDestBearingRef | ) |
Sets the gps reference for bearing of destination tag value of the metadata.
HBufC8 * aGpsDestBearingRef | the reference for bearing of destination value. |
IMPORT_C TInt | SetGpsDestDistance | ( | TInt | aNumerator, |
TInt | aDenominator | |||
) |
Sets the gps distance to destination tag value of the metadata.
IMPORT_C TInt | SetGpsDestDistanceRef | ( | HBufC8 * | aGpsDestDistanceRef | ) |
Sets the gps reference for distance to destination tag value of the metadata.
HBufC8 * aGpsDestDistanceRef | the reference for distance to destination value. |
IMPORT_C TInt | SetGpsDestLatitude | ( | TInt | aDegNumerator, |
TInt | aDegDenominator, | |||
TInt | aMinNumerator, | |||
TInt | aMinDenominator, | |||
TInt | aSecNumerator, | |||
TInt | aSecDenominator | |||
) |
Sets the gps latitude of destination tag value of the metadata.
TInt aDegNumerator | on return, the degrees latitude of destination numerator value |
TInt aDegDenominator | on return, the degrees latitude of destination denominator value |
TInt aMinNumerator | on return, the minutes latitude of destination numerator value |
TInt aMinDenominator | on return, the minutes latitude of destination denominator value |
TInt aSecNumerator | on return, the seconds latitude of destination numerator value |
TInt aSecDenominator | on return, the seconds latitude of destination denominator value |
IMPORT_C TInt | SetGpsDestLatitudeRef | ( | HBufC8 * | aGpsDestLatitudeRef | ) |
Sets the gps reference for latitude of destination tag value of the metadata.
HBufC8 * aGpsDestLatitudeRef | the reference for latitude of destination value. |
IMPORT_C TInt | SetGpsDestLongitude | ( | TInt | aDegNumerator, |
TInt | aDegDenominator, | |||
TInt | aMinNumerator, | |||
TInt | aMinDenominator, | |||
TInt | aSecNumerator, | |||
TInt | aSecDenominator | |||
) |
Sets the gps longitude of destination tag value of the metadata.
TInt aDegNumerator | on return, the degrees longitude of destination numerator value |
TInt aDegDenominator | on return, the degrees longitude of destination denominator value |
TInt aMinNumerator | on return, the minutes longitude of destination numerator value |
TInt aMinDenominator | on return, the minutes longitude of destination denominator value |
TInt aSecNumerator | on return, the seconds longitude of destination numerator value |
TInt aSecDenominator | on return, the seconds longitude of destination denominator value |
IMPORT_C TInt | SetGpsDestLongitudeRef | ( | HBufC8 * | aGpsDestLongitudeRef | ) |
Sets the gps reference for longitude of destination tag value of the metadata.
HBufC8 * aGpsDestLongitudeRef | the reference for longitude of destination value. |
IMPORT_C TInt | SetGpsDifferential | ( | TUint16 | aGpsDifferential | ) |
Sets the gps differential correction tag value of the metadata.
TUint16 aGpsDifferential | the gps differential correction value. |
IMPORT_C TInt | SetGpsDop | ( | TInt | aNumerator, |
TInt | aDenominator | |||
) |
Sets the gps measurement precision tag value of the metadata.
IMPORT_C TInt | SetGpsImgDirection | ( | TInt | aNumerator, |
TInt | aDenominator | |||
) |
Sets the direction of image tag value of the metadata.
IMPORT_C TInt | SetGpsImgDirectionRef | ( | HBufC8 * | aGpsImgDirectionRef | ) |
Sets the gps reference for direction of image tag value of the metadata.
HBufC8 * aGpsImgDirectionRef | the gps reference for direction of image value. |
IMPORT_C TInt | SetGpsLatitude | ( | TInt | aDegNumerator, |
TInt | aDegDenominator, | |||
TInt | aMinNumerator, | |||
TInt | aMinDenominator, | |||
TInt | aSecNumerator, | |||
TInt | aSecDenominator | |||
) |
Sets the gps latitude tag value of the metadata.
TInt aDegNumerator | the degrees latitude numerator value. |
TInt aDegDenominator | the degrees latitude denominator value. |
TInt aMinNumerator | the minutes latitude numerator value. |
TInt aMinDenominator | the minutes latitude denominator value. |
TInt aSecNumerator | the seconds latitude numerator value. |
TInt aSecDenominator | the seconds latitude denominator value. |
IMPORT_C TInt | SetGpsLatitudeRef | ( | HBufC8 * | aGpsLatitudeRef | ) |
Sets the gps north or south latitude tag value of the metadata.
HBufC8 * aGpsLatitudeRef | the gps north or south latitude value. |
IMPORT_C TInt | SetGpsLongitude | ( | TInt | aDegNumerator, |
TInt | aDegDenominator, | |||
TInt | aMinNumerator, | |||
TInt | aMinDenominator, | |||
TInt | aSecNumerator, | |||
TInt | aSecDenominator | |||
) |
Sets the gps longitude tag value of the metadata.
TInt aDegNumerator | the degrees longitude numerator value. |
TInt aDegDenominator | the degrees longitude denominator value. |
TInt aMinNumerator | the minutes longitude numerator value. |
TInt aMinDenominator | the minutes longitude denominator value. |
TInt aSecNumerator | the seconds longitude numerator value. |
TInt aSecDenominator | the seconds longitude denominator value. |
IMPORT_C TInt | SetGpsLongitudeRef | ( | HBufC8 * | aGpsLongitudeRef | ) |
Sets the east or west longitude tag value of the metadata.
HBufC8 * aGpsLongitudeRef | the east or west longitude value. |
IMPORT_C TInt | SetGpsMapDatum | ( | HBufC8 * | aGpsMapDatum | ) |
Sets the gps geodetic survey data used tag value of the metadata.
HBufC8 * aGpsMapDatum | the geodetic survey data used value. |
IMPORT_C TInt | SetGpsMeasureMode | ( | HBufC8 * | aGpsMeasureMode | ) |
Sets the gps measurement mode tag value of the metadata.
HBufC8 * aGpsMeasureMode | the gps measurement mode value. |
IMPORT_C TInt | SetGpsProcessingMethod | ( | HBufC8 * | aGpsProcessingMethod | ) |
Sets the name of gps processing method tag value of the metadata.
Note: According to the Exif 2.2 specification, the first 8 bytes of aGpsProcessingMethod must contain a Character Code to indicate the type of encoding used. See table 6 of the Exif 2.2 specification for a list of codes.
HBufC8 * aGpsProcessingMethod | the name of gps processing method value. |
IMPORT_C TInt | SetGpsSatellites | ( | HBufC8 * | aGpsSatellites | ) |
Sets the gps satellites used for measurement tag value of the metadata.
HBufC8 * aGpsSatellites | the gps satellites used for measurement value. |
IMPORT_C TInt | SetGpsSpeed | ( | TInt | aNumerator, |
TInt | aDenominator | |||
) |
Sets the speed of gps receiver tag value of the metadata.
IMPORT_C TInt | SetGpsSpeedRef | ( | HBufC8 * | aGpsSpeedRef | ) |
Sets the gps speed unit tag value of the metadata.
HBufC8 * aGpsSpeedRef | the speed unit value. |
IMPORT_C TInt | SetGpsStatus | ( | HBufC8 * | aGpsStatus | ) |
Sets the gps receiver status tag value of the metadata.
HBufC8 * aGpsStatus | the gps receiver status value. |
IMPORT_C TInt | SetGpsTimeStamp | ( | TInt | aHourNumerator, |
TInt | aHourDenominator, | |||
TInt | aMinNumerator, | |||
TInt | aMinDenominator, | |||
TInt | aSecNumerator, | |||
TInt | aSecDenominator | |||
) |
Sets the gps time tag value of the metadata.
TInt aHourNumerator | the hour numerator value. |
TInt aHourDenominator | the hour denominator value. |
TInt aMinNumerator | the minutes numerator value. |
TInt aMinDenominator | the minutes denominator value. |
TInt aSecNumerator | the seconds numerator value. |
TInt aSecDenominator | the seconds denominator value. |
IMPORT_C TInt | SetGpsTrack | ( | TInt | aNumerator, |
TInt | aDenominator | |||
) |
Sets the direction of movement tag value of the metadata.
IMPORT_C TInt | SetGpsTrackRef | ( | HBufC8 * | aGpsTrackRef | ) |
Sets the gps reference for direction of movement tag value of the metadata.
HBufC8 * aGpsTrackRef | the gps reference for direction of movement value. |
IMPORT_C TInt | SetGpsVersionId | ( | HBufC8 * | aGpsVersionId | ) |
Sets the gps version id tag value of the metadata.
HBufC8 * aGpsVersionId | the gps version id value. |
IMPORT_C TInt | SetImageDescription | ( | HBufC8 * | aImageDescription | ) |
Sets the image description tag value of the metadata.
HBufC8 * aImageDescription | the image description value. |
IMPORT_C TInt | SetInteroperabilityIndex | ( | HBufC8 * | aIdx | ) |
Sets the interoperabilityindex tag value of the metadata.
HBufC8 * aIdx | the interoperabilityIndex value |
IMPORT_C TInt | SetInteroperabilityVersion | ( | HBufC8 * | aIdx | ) |
Sets the interoperabilityVersion tag value of the metadata.
HBufC8 * aIdx | the interoperabilityVersion value |
IMPORT_C TInt | SetMake | ( | HBufC8 * | aMake | ) |
Sets the make tag value of the metadata.
HBufC8 * aMake | the make value |
IMPORT_C TInt | SetMakerNote | ( | HBufC8 * | aMakerNote | ) |
Sets the maker note tag value of the metadata.
HBufC8 * aMakerNote | the maker note value. |
IMPORT_C TInt | SetModel | ( | HBufC8 * | aModel | ) |
Sets the model tag value of the metadata.
HBufC8 * aModel | the model value |
IMPORT_C TInt | SetOrientation | ( | TInt | aOrientation | ) |
Sets the main image orientation tag value of the metadata.
Note: aOrientation may only take unsigned short (16-bit) values.
TInt aOrientation | the main image orientation value |
IMPORT_C TInt | SetPixelXDimension | ( | TInt | aPixelXDim | ) |
Sets the pixelXDimension tag value of the metadata.
TInt aPixelXDim | the pixelXDimension value |
IMPORT_C TInt | SetPixelYDimension | ( | TInt | aPixelYDim | ) |
Sets the pixelYDimension tag value of the metadata.
TInt aPixelYDim | the pixelYDimension value |
IMPORT_C TInt | SetResolutionUnit | ( | TInt | aResUnit | ) |
Sets the main image resolutionUnit tag value of the metadata.
Note: aResUnit may only take unsigned short (16-bit) values.
TInt aResUnit | the main image resolutionUnit value |
IMPORT_C TInt | SetShutterSpeedValue | ( | TInt | aNumerator, |
TInt | aDenominator | |||
) |
Sets the shutter speed tag value of the metadata.
Note that aNumerator may take signed values.
Note that aDenominator may take signed values.
IMPORT_C TInt | SetThumbCompression | ( | TInt | aCompression | ) |
Sets the thumbnail compression tag value of the metadata.
Note: aCompression may only take unsigned short (16-bit) values.
TInt aCompression | the thumbnail compression value |
IMPORT_C TInt | SetThumbOrientation | ( | TInt | aOrientation | ) |
Sets the thumbnail orientation tag value of the metadata.
Note: aOrientation may only take unsigned short (16-bit) values.
TInt aOrientation | the thumbnail orientation value |
IMPORT_C TInt | SetThumbResolutionUnit | ( | TInt | aResUnit | ) |
Sets the thumbnail resolutionUnit tag value of the metadata.
Note: aResUnit may only take unsigned short (16-bit) values.
TInt aResUnit | the thumbnail resolutionUnit value |
IMPORT_C TInt | SetThumbXResolution | ( | TInt | aNumerator, |
TInt | aDenominator | |||
) |
Sets the thumbnail xResolution tag value of the metadata.
IMPORT_C TInt | SetThumbYResolution | ( | TInt | aNumerator, |
TInt | aDenominator | |||
) |
Sets the thumbnail yResolution tag value of the metadata.
IMPORT_C TInt | SetUserComment | ( | HBufC8 * | aUserComment | ) |
Sets the user comment tag value of the metadata.
Note: According to the Exif 2.2 specification, the first 8 bytes of aUserComment must contain a Character Code to indicate the type of encoding used. See table 6 of the Exif 2.2 specification for a list of codes.
HBufC8 * aUserComment | the user comment value. |
IMPORT_C TInt | SetXResolution | ( | TInt | aNumerator, |
TInt | aDenominator | |||
) |
Sets the main image xResolution tag value of the metadata.
IMPORT_C TInt | SetYCbCrPositioning | ( | TInt | aPositioning | ) |
Sets the yCbCrPositioning tag value of the metadata.
Note: aPositioning may only take unsigned short (16-bit) values.
TInt aPositioning | the yCbCrPositioning value |
IMPORT_C TInt | SetYResolution | ( | TInt | aNumerator, |
TInt | aDenominator | |||
) |
Sets the main image yResolution tag value of the metadata.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.