TExifWriterUtility Class Reference
Link against: exifutility.lib
Public Member Functions |
---|
| TExifWriterUtility(MExifMetadataWriter *) |
IMPORT_C TInt | SetColorSpace(TInt) |
IMPORT_C TInt | SetComponentsConfiguration(HBufC8 *) |
IMPORT_C TInt | SetCopyright(HBufC8 *) |
IMPORT_C TInt | SetDateTime(HBufC8 *) |
IMPORT_C TInt | SetDateTimeDigitized(HBufC8 *) |
IMPORT_C TInt | SetDateTimeOriginal(HBufC8 *) |
IMPORT_C TInt | SetExifVersion(HBufC8 *) |
IMPORT_C TInt | SetFlash(TUint16) |
IMPORT_C TInt | SetFlashPixVersion(HBufC8 *) |
IMPORT_C TInt | SetFocalLength(TInt, TInt) |
IMPORT_C TInt | SetGpsAltitude(TInt, TInt) |
IMPORT_C TInt | SetGpsAltitudeRef(TUint8) |
IMPORT_C TInt | SetGpsAreaInformation(HBufC8 *) |
IMPORT_C TInt | SetGpsDateStamp(HBufC8 *) |
IMPORT_C TInt | SetGpsDestBearing(TInt, TInt) |
IMPORT_C TInt | SetGpsDestBearingRef(HBufC8 *) |
IMPORT_C TInt | SetGpsDestDistance(TInt, TInt) |
IMPORT_C TInt | SetGpsDestDistanceRef(HBufC8 *) |
IMPORT_C TInt | SetGpsDestLatitude(TInt, TInt, TInt, TInt, TInt, TInt) |
IMPORT_C TInt | SetGpsDestLatitudeRef(HBufC8 *) |
IMPORT_C TInt | SetGpsDestLongitude(TInt, TInt, TInt, TInt, TInt, TInt) |
IMPORT_C TInt | SetGpsDestLongitudeRef(HBufC8 *) |
IMPORT_C TInt | SetGpsDifferential(TUint16) |
IMPORT_C TInt | SetGpsDop(TInt, TInt) |
IMPORT_C TInt | SetGpsImgDirection(TInt, TInt) |
IMPORT_C TInt | SetGpsImgDirectionRef(HBufC8 *) |
IMPORT_C TInt | SetGpsLatitude(TInt, TInt, TInt, TInt, TInt, TInt) |
IMPORT_C TInt | SetGpsLatitudeRef(HBufC8 *) |
IMPORT_C TInt | SetGpsLongitude(TInt, TInt, TInt, TInt, TInt, TInt) |
IMPORT_C TInt | SetGpsLongitudeRef(HBufC8 *) |
IMPORT_C TInt | SetGpsMapDatum(HBufC8 *) |
IMPORT_C TInt | SetGpsMeasureMode(HBufC8 *) |
IMPORT_C TInt | SetGpsProcessingMethod(HBufC8 *) |
IMPORT_C TInt | SetGpsSatellites(HBufC8 *) |
IMPORT_C TInt | SetGpsSpeed(TInt, TInt) |
IMPORT_C TInt | SetGpsSpeedRef(HBufC8 *) |
IMPORT_C TInt | SetGpsStatus(HBufC8 *) |
IMPORT_C TInt | SetGpsTimeStamp(TInt, TInt, TInt, TInt, TInt, TInt) |
IMPORT_C TInt | SetGpsTrack(TInt, TInt) |
IMPORT_C TInt | SetGpsTrackRef(HBufC8 *) |
IMPORT_C TInt | SetGpsVersionId(HBufC8 *) |
IMPORT_C TInt | SetImageDescription(HBufC8 *) |
IMPORT_C TInt | SetInteroperabilityIndex(HBufC8 *) |
IMPORT_C TInt | SetInteroperabilityVersion(HBufC8 *) |
IMPORT_C TInt | SetMake(HBufC8 *) |
IMPORT_C TInt | SetMakerNote(HBufC8 *) |
IMPORT_C TInt | SetModel(HBufC8 *) |
IMPORT_C TInt | SetOrientation(TInt) |
IMPORT_C TInt | SetPixelXDimension(TInt) |
IMPORT_C TInt | SetPixelYDimension(TInt) |
IMPORT_C TInt | SetResolutionUnit(TInt) |
IMPORT_C TInt | SetShutterSpeedValue(TInt, TInt) |
IMPORT_C TInt | SetThumbCompression(TInt) |
IMPORT_C TInt | SetThumbOrientation(TInt) |
IMPORT_C TInt | SetThumbResolutionUnit(TInt) |
IMPORT_C TInt | SetThumbXResolution(TInt, TInt) |
IMPORT_C TInt | SetThumbYResolution(TInt, TInt) |
IMPORT_C TInt | SetUserComment(HBufC8 *) |
IMPORT_C TInt | SetXResolution(TInt, TInt) |
IMPORT_C TInt | SetYCbCrPositioning(TInt) |
IMPORT_C TInt | SetYResolution(TInt, TInt) |
Detailed Description
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.
Constructor & Destructor Documentation
TExifWriterUtility ( MExifMetadataWriter * )
Constructor
instantiates the exif writer utility. Note: no method on this utility should be used after the metadate has been destroyed
Parameters |
---|
aExifMetadata | the metadata class on which to read the tags |
Member Function Documentation
SetColorSpace ( TInt )
IMPORT_C TInt | SetColorSpace | ( | TInt | aColorSpace | ) | |
Sets the colorSpace tag value of the metadata.
Note: aColorSpace may only take unsigned short (16-bit) values.
Parameters |
---|
aColorSpace | the colorSpace value |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found.
SetComponentsConfiguration ( HBufC8 * )
IMPORT_C TInt | SetComponentsConfiguration | ( | HBufC8 * | aComponentsConfig | ) | |
Sets the componentsConfiguration tag value of the metadata.
Parameters |
---|
aComponentsConfig | the componentsConfiguration value |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found.
SetCopyright ( HBufC8 * )
Sets the copyright tag value of the metadata.
Parameters |
---|
aCopyright | the copyright value. |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found. KErrOverflow if there is an internal error with the Exif metadata.
SetDateTime ( HBufC8 * )
Sets the dateTime tag value of the metadata.
Parameters |
---|
aDateTime | the dateTime value |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found.
SetDateTimeDigitized ( HBufC8 * )
IMPORT_C TInt | SetDateTimeDigitized | ( | HBufC8 * | aDateTime | ) | |
Sets the dateTimeDigitized tag value of the metadata.
Parameters |
---|
aDateTime | the dateTimeDigitized value |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found.
SetDateTimeOriginal ( HBufC8 * )
IMPORT_C TInt | SetDateTimeOriginal | ( | HBufC8 * | aDateTime | ) | |
Sets the dateTimeOriginal tag value of the metadata.
Parameters |
---|
aDateTime | the dateTimeOriginal value |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found.
SetExifVersion ( HBufC8 * )
Sets the exifVersion tag value of the metadata.
Parameters |
---|
aExifVersion | the exifVersion value |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found.
SetFlash ( TUint16 )
Sets the flash tag value of the metadata.
Parameters |
---|
aFlash | the flash value. |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found. KErrOverflow if there is an internal error with the Exif metadata.
SetFlashPixVersion ( HBufC8 * )
IMPORT_C TInt | SetFlashPixVersion | ( | HBufC8 * | aFlashPixVer | ) | |
Sets the flashpixVersion tag value of the metadata.
Parameters |
---|
aFlashPixVer | the flashpixVersion value |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found.
SetFocalLength ( TInt, TInt )
IMPORT_C TInt | SetFocalLength | ( | TInt | aNumerator, |
| TInt | aDenominator |
| ) | |
Sets the focal length tag value of the metadata.
Parameters |
---|
aNumerator | the focal length numerator value |
aDenominator | the focal length denominator value |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found. KErrOverflow if there is an internal error with the Exif metadata.
SetGpsAltitude ( TInt, TInt )
IMPORT_C TInt | SetGpsAltitude | ( | TInt | aNumerator, |
| TInt | aDenominator |
| ) | |
Sets the gps altitude tag value of the metadata.
Parameters |
---|
aNumerator | the altitude numerator value. |
aDenominator | the altitude denominator value. |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found. KErrOverflow if there is an internal error with the Exif metadata.
SetGpsAltitudeRef ( TUint8 )
IMPORT_C TInt | SetGpsAltitudeRef | ( | TUint8 | aGpsAltitudeRef | ) | |
Sets the gps altitude reference tag value of the metadata.
Parameters |
---|
aGpsAltitudeRef | the altitude reference value. |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found. KErrOverflow if there is an internal error with the Exif metadata. KErrNoMemory if there was not enough memory available to complete the request.
SetGpsAreaInformation ( HBufC8 * )
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.
Parameters |
---|
aGpsAreaInformation | the name of gps area value. |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found. KErrOverflow if there is an internal error with the Exif metadata.
SetGpsDateStamp ( HBufC8 * )
Sets the gps date tag value of the metadata.
Parameters |
---|
aDateStamp | the gps date value. |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found. KErrOverflow if there is an internal error with the Exif metadata.
SetGpsDestBearing ( TInt, TInt )
IMPORT_C TInt | SetGpsDestBearing | ( | TInt | aNumerator, |
| TInt | aDenominator |
| ) | |
Sets the gps bearing of destination tag value of the metadata.
Parameters |
---|
aNumerator | the bearing of destination numerator value |
aDenominator | the bearing of destination denominator value |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found. KErrOverflow if there is an internal error with the Exif metadata.
SetGpsDestBearingRef ( HBufC8 * )
IMPORT_C TInt | SetGpsDestBearingRef | ( | HBufC8 * | aGpsDestBearingRef | ) | |
Sets the gps reference for bearing of destination tag value of the metadata.
Parameters |
---|
aGpsDestBearingRef | the reference for bearing of destination value. |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found. KErrOverflow if there is an internal error with the Exif metadata.
SetGpsDestDistance ( TInt, TInt )
IMPORT_C TInt | SetGpsDestDistance | ( | TInt | aNumerator, |
| TInt | aDenominator |
| ) | |
Sets the gps distance to destination tag value of the metadata.
Parameters |
---|
aNumerator | the distance to destination numerator value. |
aDenominator | the distance to destination denominator value. |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found. KErrOverflow if there is an internal error with the Exif metadata.
SetGpsDestDistanceRef ( HBufC8 * )
IMPORT_C TInt | SetGpsDestDistanceRef | ( | HBufC8 * | aGpsDestDistanceRef | ) | |
Sets the gps reference for distance to destination tag value of the metadata.
Parameters |
---|
aGpsDestDistanceRef | the reference for distance to destination value. |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found. KErrOverflow if there is an internal error with the Exif metadata.
SetGpsDestLatitude ( TInt, TInt, TInt, TInt, TInt, TInt )
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.
Parameters |
---|
aDegNumerator | on return, the degrees latitude of destination numerator value |
aDegDenominator | on return, the degrees latitude of destination denominator value |
aMinNumerator | on return, the minutes latitude of destination numerator value |
aMinDenominator | on return, the minutes latitude of destination denominator value |
aSecNumerator | on return, the seconds latitude of destination numerator value |
aSecDenominator | on return, the seconds latitude of destination denominator value |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found. KErrOverflow if there is an internal error with the Exif metadata.
SetGpsDestLatitudeRef ( HBufC8 * )
IMPORT_C TInt | SetGpsDestLatitudeRef | ( | HBufC8 * | aGpsDestLatitudeRef | ) | |
Sets the gps reference for latitude of destination tag value of the metadata.
Parameters |
---|
aGpsDestLatitudeRef | the reference for latitude of destination value. |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found. KErrOverflow if there is an internal error with the Exif metadata.
SetGpsDestLongitude ( TInt, TInt, TInt, TInt, TInt, TInt )
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.
Parameters |
---|
aDegNumerator | on return, the degrees longitude of destination numerator value |
aDegDenominator | on return, the degrees longitude of destination denominator value |
aMinNumerator | on return, the minutes longitude of destination numerator value |
aMinDenominator | on return, the minutes longitude of destination denominator value |
aSecNumerator | on return, the seconds longitude of destination numerator value |
aSecDenominator | on return, the seconds longitude of destination denominator value |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found. KErrOverflow if there is an internal error with the Exif metadata.
SetGpsDestLongitudeRef ( HBufC8 * )
IMPORT_C TInt | SetGpsDestLongitudeRef | ( | HBufC8 * | aGpsDestLongitudeRef | ) | |
Sets the gps reference for longitude of destination tag value of the metadata.
Parameters |
---|
aGpsDestLongitudeRef | the reference for longitude of destination value. |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found. KErrOverflow if there is an internal error with the Exif metadata.
SetGpsDifferential ( TUint16 )
IMPORT_C TInt | SetGpsDifferential | ( | TUint16 | aGpsDifferential | ) | |
Sets the gps differential correction tag value of the metadata.
Parameters |
---|
aGpsDifferential | the gps differential correction value. |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found. KErrOverflow if there is an internal error with the Exif metadata.
SetGpsDop ( TInt, TInt )
Sets the gps measurement precision tag value of the metadata.
Parameters |
---|
aNumerator | the measurement precision numerator value. |
aDenominator | the measurement precision denominator value. |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found. KErrOverflow if there is an internal error with the Exif metadata.
SetGpsImgDirection ( TInt, TInt )
IMPORT_C TInt | SetGpsImgDirection | ( | TInt | aNumerator, |
| TInt | aDenominator |
| ) | |
Sets the direction of image tag value of the metadata.
Parameters |
---|
aNumerator | the direction of image numerator value. |
aDenominator | the direction of image denominator value. |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found. KErrOverflow if there is an internal error with the Exif metadata.
SetGpsImgDirectionRef ( HBufC8 * )
IMPORT_C TInt | SetGpsImgDirectionRef | ( | HBufC8 * | aGpsImgDirectionRef | ) | |
Sets the gps reference for direction of image tag value of the metadata.
Parameters |
---|
aGpsImgDirectionRef | the gps reference for direction of image value. |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found. KErrOverflow if there is an internal error with the Exif metadata.
SetGpsLatitude ( TInt, TInt, TInt, TInt, TInt, TInt )
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.
Parameters |
---|
aDegNumerator | the degrees latitude numerator value. |
aDegDenominator | the degrees latitude denominator value. |
aMinNumerator | the minutes latitude numerator value. |
aMinDenominator | the minutes latitude denominator value. |
aSecNumerator | the seconds latitude numerator value. |
aSecDenominator | the seconds latitude denominator value. |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found. KErrOverflow if there is an internal error with the Exif metadata. KErrNoMemory if there was not enough memory available to complete the request.
SetGpsLatitudeRef ( HBufC8 * )
IMPORT_C TInt | SetGpsLatitudeRef | ( | HBufC8 * | aGpsLatitudeRef | ) | |
Sets the gps north or south latitude tag value of the metadata.
Parameters |
---|
aGpsLatitudeRef | the gps north or south latitude value. |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found. KErrOverflow if there is an internal error with the Exif metadata.
SetGpsLongitude ( TInt, TInt, TInt, TInt, TInt, TInt )
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.
Parameters |
---|
aDegNumerator | the degrees longitude numerator value. |
aDegDenominator | the degrees longitude denominator value. |
aMinNumerator | the minutes longitude numerator value. |
aMinDenominator | the minutes longitude denominator value. |
aSecNumerator | the seconds longitude numerator value. |
aSecDenominator | the seconds longitude denominator value. |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found. KErrOverflow if there is an internal error with the Exif metadata. KErrNoMemory if there was not enough memory available to complete the request.
SetGpsLongitudeRef ( HBufC8 * )
IMPORT_C TInt | SetGpsLongitudeRef | ( | HBufC8 * | aGpsLongitudeRef | ) | |
Sets the east or west longitude tag value of the metadata.
Parameters |
---|
aGpsLongitudeRef | the east or west longitude value. |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found. KErrOverflow if there is an internal error with the Exif metadata.
SetGpsMapDatum ( HBufC8 * )
Sets the gps geodetic survey data used tag value of the metadata.
Parameters |
---|
aGpsMapDatum | the geodetic survey data used value. |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found. KErrOverflow if there is an internal error with the Exif metadata.
SetGpsMeasureMode ( HBufC8 * )
IMPORT_C TInt | SetGpsMeasureMode | ( | HBufC8 * | aGpsMeasureMode | ) | |
Sets the gps measurement mode tag value of the metadata.
Parameters |
---|
aGpsMeasureMode | the gps measurement mode value. |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found. KErrOverflow if there is an internal error with the Exif metadata.
SetGpsProcessingMethod ( HBufC8 * )
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.
Parameters |
---|
aGpsProcessingMethod | the name of gps processing method value. |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found. KErrOverflow if there is an internal error with the Exif metadata.
SetGpsSatellites ( HBufC8 * )
IMPORT_C TInt | SetGpsSatellites | ( | HBufC8 * | aGpsSatellites | ) | |
Sets the gps satellites used for measurement tag value of the metadata.
Parameters |
---|
aGpsSatellites | the gps satellites used for measurement value. |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found. KErrOverflow if there is an internal error with the Exif metadata.
SetGpsSpeed ( TInt, TInt )
Sets the speed of gps receiver tag value of the metadata.
Parameters |
---|
aNumerator | the speed of gps receiver numerator value. |
aDenominator | the speed of gps receiver denominator value. |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found. KErrOverflow if there is an internal error with the Exif metadata.
SetGpsSpeedRef ( HBufC8 * )
Sets the gps speed unit tag value of the metadata.
Parameters |
---|
aGpsSpeedRef | the speed unit value. |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found. KErrOverflow if there is an internal error with the Exif metadata.
SetGpsStatus ( HBufC8 * )
Sets the gps receiver status tag value of the metadata.
Parameters |
---|
aGpsStatus | the gps receiver status value. |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found. KErrOverflow if there is an internal error with the Exif metadata.
SetGpsTimeStamp ( TInt, TInt, TInt, TInt, TInt, TInt )
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.
Parameters |
---|
aHourNumerator | the hour numerator value. |
aHourDenominator | the hour denominator value. |
aMinNumerator | the minutes numerator value. |
aMinDenominator | the minutes denominator value. |
aSecNumerator | the seconds numerator value. |
aSecDenominator | the seconds denominator value. |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found. KErrOverflow if there is an internal error with the Exif metadata.
SetGpsTrack ( TInt, TInt )
Sets the direction of movement tag value of the metadata.
Parameters |
---|
aNumerator | the direction of movement numerator value. |
aDenominator | the direction of movement denominator value. |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found. KErrOverflow if there is an internal error with the Exif metadata.
SetGpsTrackRef ( HBufC8 * )
Sets the gps reference for direction of movement tag value of the metadata.
Parameters |
---|
aGpsTrackRef | the gps reference for direction of movement value. |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found. KErrOverflow if there is an internal error with the Exif metadata.
SetGpsVersionId ( HBufC8 * )
IMPORT_C TInt | SetGpsVersionId | ( | HBufC8 * | aGpsVersionId | ) | |
Sets the gps version id tag value of the metadata.
Parameters |
---|
aGpsVersionId | the gps version id value. |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found. KErrOverflow if there is an internal error with the Exif metadata.
SetImageDescription ( HBufC8 * )
IMPORT_C TInt | SetImageDescription | ( | HBufC8 * | aImageDescription | ) | |
Sets the image description tag value of the metadata.
Parameters |
---|
aImageDescription | the image description value. |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found. KErrOverflow if there is an internal error with the Exif metadata.
SetInteroperabilityIndex ( HBufC8 * )
IMPORT_C TInt | SetInteroperabilityIndex | ( | HBufC8 * | aIdx | ) | |
Sets the interoperabilityindex tag value of the metadata.
Parameters |
---|
aIdx | the interoperabilityIndex value |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found.
SetInteroperabilityVersion ( HBufC8 * )
IMPORT_C TInt | SetInteroperabilityVersion | ( | HBufC8 * | aIdx | ) | |
Sets the interoperabilityVersion tag value of the metadata.
Parameters |
---|
aIdx | the interoperabilityVersion value |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found.
SetMake ( HBufC8 * )
Sets the make tag value of the metadata.
Parameters |
---|
aMake | the make value |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found.
SetMakerNote ( HBufC8 * )
Sets the maker note tag value of the metadata.
Parameters |
---|
aMakerNote | the maker note value. |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found. KErrOverflow if there is an internal error with the Exif metadata.
SetModel ( HBufC8 * )
Sets the model tag value of the metadata.
Parameters |
---|
aModel | the model value |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found.
SetOrientation ( TInt )
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.
Parameters |
---|
aOrientation | the main image orientation value |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found.
SetPixelXDimension ( TInt )
IMPORT_C TInt | SetPixelXDimension | ( | TInt | aPixelXDim | ) | |
Sets the pixelXDimension tag value of the metadata.
Parameters |
---|
aPixelXDim | the pixelXDimension value |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found.
SetPixelYDimension ( TInt )
IMPORT_C TInt | SetPixelYDimension | ( | TInt | aPixelYDim | ) | |
Sets the pixelYDimension tag value of the metadata.
Parameters |
---|
aPixelYDim | the pixelYDimension value |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found.
SetResolutionUnit ( TInt )
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.
Parameters |
---|
aResUnit | the main image resolutionUnit value |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found.
SetShutterSpeedValue ( TInt, TInt )
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.
Parameters |
---|
aNumerator | the shutter speed numerator value. |
aDenominator | the shutter speed denominator value. |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found. KErrOverflow if there is an internal error with the Exif metadata.
SetThumbCompression ( TInt )
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.
Parameters |
---|
aCompression | the thumbnail compression value |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found.
SetThumbOrientation ( TInt )
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.
Parameters |
---|
aOrientation | the thumbnail orientation value |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found.
SetThumbResolutionUnit ( TInt )
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.
Parameters |
---|
aResUnit | the thumbnail resolutionUnit value |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found.
SetThumbXResolution ( TInt, TInt )
IMPORT_C TInt | SetThumbXResolution | ( | TInt | aNumerator, |
| TInt | aDenominator |
| ) | |
Sets the thumbnail xResolution tag value of the metadata.
Parameters |
---|
aNumerator | the thumbnail xResolution value numerator |
aDenominator | the thumbnail xResolution value denominator |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found.
SetThumbYResolution ( TInt, TInt )
IMPORT_C TInt | SetThumbYResolution | ( | TInt | aNumerator, |
| TInt | aDenominator |
| ) | |
Sets the thumbnail yResolution tag value of the metadata.
Parameters |
---|
aNumerator | the thumbnail yResolution value numerator |
aDenominator | the thumbnail yResolution value denominator |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found.
SetUserComment ( HBufC8 * )
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.
Parameters |
---|
aUserComment | the user comment value. |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found. KErrOverflow if there is an internal error with the Exif metadata.
SetXResolution ( TInt, TInt )
IMPORT_C TInt | SetXResolution | ( | TInt | aNumerator, |
| TInt | aDenominator |
| ) | |
Sets the main image xResolution tag value of the metadata.
Parameters |
---|
aNumerator | the main image xResolution value numerator |
aDenominator | the main image xResolution value denominator |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found.
SetYCbCrPositioning ( TInt )
IMPORT_C TInt | SetYCbCrPositioning | ( | TInt | aPositioning | ) | |
Sets the yCbCrPositioning tag value of the metadata.
Note: aPositioning may only take unsigned short (16-bit) values.
Parameters |
---|
aPositioning | the yCbCrPositioning value |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found.
SetYResolution ( TInt, TInt )
IMPORT_C TInt | SetYResolution | ( | TInt | aNumerator, |
| TInt | aDenominator |
| ) | |
Sets the main image yResolution tag value of the metadata.
Parameters |
---|
aNumerator | the main image yResolution value numerator |
aDenominator | the main image yResolution value denominator |
- Return Value
- error code KErrArgument if the requested data type does not match with the tag. KErrNotSupported if called on an encoding module. KErrNotFound if the tag cannot be found.