Bugzilla – Attachment 48278 Details for
Bug 114360
libexif broken since Preview3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
test program
exiftest.c (text/x-csrc), 689 bytes, created by
Thorsten Kukuk
on 2005-08-31 09:46:21 UTC
(
hide
)
Description:
test program
Filename:
MIME Type:
Creator:
Thorsten Kukuk
Created:
2005-08-31 09:46:21 UTC
Size:
689 bytes
patch
obsolete
> > >#include <stdio.h> > >#include <libexif/exif-data.h> >#include <libexif/exif-content.h> >#include <libexif/exif-entry.h> >#include <libexif/exif-tag.h> > >int >main () >{ > ExifData *ed = > exif_data_new_from_file ("img_6641.jpg"); > > ExifMnoteData *n = exif_data_get_mnote_data (ed); > if (n) > { > unsigned int i, c, bs = 1024; > char b[1024]; > > c = exif_mnote_data_count (n); > if (c > 0) > for (i = 0; i < c; i++) > { > const char *p; > > p = exif_mnote_data_get_title (n, i); > if (p) > { > printf ("title: %s\n", p); > p = exif_mnote_data_get_value (n, i, b, bs); > printf ("value: %s\n", p); > } > } > } > exif_data_free(ed); > return 0; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
Attachments on
bug 114360
: 48278 |
48279