54 if (
size < 4)
return NULL;
59 snprintf(v, maxlen,
"%d", vsl);
65 strncpy (v, (
char *) data,
MIN (maxlen-1,
size));
71 strncpy (v, (
char *)data,
MIN(maxlen,
size));
82 snprintf (v+len, maxlen-len,
"%hu ", vs);
97 snprintf (v+len, maxlen-len,
"%hi ", vss);
112 snprintf (v+len, maxlen-len,
"%lu ", (
long unsigned) vl);
127 snprintf (v+len, maxlen-len,
"%li ", (
long int) vsl);
139 snprintf (v, maxlen,
"%2.4f", (
double) vr.
numerator /
147 snprintf (v, maxlen,
"%2.4f", (
double) vsr.
numerator /
152 snprintf (v, maxlen,
_(
"%i bytes unknown data"), entry->
size);
ExifRational exif_get_rational(const unsigned char *buf, ExifByteOrder order)
Retrieve an ExifRational value from memory.
ExifLong exif_get_long(const unsigned char *buf, ExifByteOrder order)
Retrieve an ExifLong value from memory.
ExifShort exif_get_short(const unsigned char *buf, ExifByteOrder order)
Retrieve an ExifShort value from memory.
ExifSLong exif_get_slong(const unsigned char *b, ExifByteOrder order)
Retrieve an ExifSLong value from memory.
ExifSShort exif_get_sshort(const unsigned char *buf, ExifByteOrder order)
Retrieve an ExifSShort value from memory.
ExifSRational exif_get_srational(const unsigned char *buf, ExifByteOrder order)
Retrieve an ExifSRational value from memory.
EXIF data manipulation functions and types.
uint32_t ExifLong
EXIF Unsigned Long data type.
int32_t ExifSLong
EXIF Signed Long data type.
uint16_t ExifShort
EXIF Unsigned Short data type.
int16_t ExifSShort
EXIF Signed Short data type.
char * mnote_apple_entry_get_value(MnoteAppleEntry *entry, char *v, unsigned int maxlen)
@ MNOTE_APPLE_TAG_MEDIA_GROUP_UUID
@ MNOTE_APPLE_TAG_IMAGE_UNIQUE_ID
@ MNOTE_APPLE_TAG_BURST_UUID
EXIF Unsigned Rational data type.
EXIF Signed Rational data type.