D | write-exif.c | 129 static ExifEntry *init_tag(ExifData *exif, ExifIfd ifd, ExifTag tag) in init_tag() argument 133 if (!((entry = exif_content_get_entry (exif->ifd[ifd], tag)))) { in init_tag() 141 exif_content_add_entry (exif->ifd[ifd], entry); in init_tag() 162 static ExifEntry *create_tag(ExifData *exif, ExifIfd ifd, ExifTag tag, size_t len) in create_tag() argument 187 exif_content_add_entry (exif->ifd[ifd], entry); in create_tag() 203 ExifData *exif = exif_data_new(); in main() local 204 if (!exif) { in main() 210 exif_data_set_option(exif, EXIF_DATA_OPTION_FOLLOW_SPECIFICATION); in main() 211 exif_data_set_data_type(exif, EXIF_DATA_TYPE_COMPRESSED); in main() 212 exif_data_set_byte_order(exif, FILE_BYTE_ORDER); in main() [all …]
|