open fun setTagValue(tag: Exify.TAG!, val: Any!): Boolean
Sets the value of an ExifTag if it exists it's default IFD. The value must be the correct type and length for that ExifExifTagKey.
tag
- Exify.TAG!: a tag constant, e.g. {@see #ExifTagKey.IMAGE_WIDTH}.
val
- Any!: the value to set.
Return
Boolean: true if success, false if the ExifTag doesn't exist or the value is the wrong type/length.
open fun setTagValue(tagId: Int, val: Any!): Boolean
Sets the value of an ExifTag if it exists it's default IFD. The value must be the correct type and length for that ExifExifTagKey.
tagId
- Int: a tag constant, e.g. {@see #ExifTagKey.IMAGE_WIDTH}.
val
- Any!: the value to set.
Return
Boolean: true if success, false if the ExifTag doesn't exist or the value is the wrong type/length.
open fun setTagValue(tagId: Int, ifdId: Int, val: Any!): Boolean
Sets the value of an ExifTag if it exists in the given IFD. The value must be the correct type and length for that ExifExifTagKey.
tagId
- Int: a tag constant, e.g. {@see #ExifTagKey.IMAGE_WIDTH}.
ifdId
- Int: the IFD that the ExifTag is in.
val
- Any!: the value to set.
Return
Boolean: true if success, false if the ExifTag doesn't exist or the value is the wrong type/length.
See Also
#setTagValue