Questions tagged [libexif]

libexif is an EXIF Tag Parsing Library written in C.

24 questions
8
votes
2 answers

Integer overflow not consistent

Pardon me if this question has been posed before. I looked for answers to similar questions, but I'm still puzzled with my problem. So I will shoot the question anyway. I'm using a C library called libexif for image data. I run my application (which…
Spottsworth
  • 395
  • 5
  • 12
6
votes
2 answers

Libexif , appending new exif data

I have a task to edit exif tags and add to them application specific values. if the exif tags exist libexif is more than happy to edit them . but if the exif tags don't exist, i will have to create them and append them to file. libexif uses the C…
Nadim Farhat
  • 446
  • 3
  • 11
6
votes
1 answer

How to write the modified exif in source image file (like JPEG, TIFF, PSD)?

I used libexif to read and modify the exif metadata in JPEG file. I am not sure on how to write/save the modified contents in the original source image file? Any ideas?? Thanks.
ext.dev
  • 121
  • 6
5
votes
0 answers

Edit Exif Data in iOS Photos Gallery/ LIbrary without Creating Another Copy

Is there a way to edit/ modify the exif data of the photot that are part of iOS photo library / gallery on the iPhone. Whenever I try to do that, iOS tries to save it as a separate image file. However, I would like to modify the exif data, without…
exifguy
  • 650
  • 7
  • 16
5
votes
2 answers

android image exif reader 3rd party api

Is there any 3rd part api for android to read exif tags from image which support api level starting from 1.5.
d-man
  • 57,473
  • 85
  • 212
  • 296
4
votes
1 answer

Write exif data to jpg using libexif

I'm trying to use libexif to write exif data into a jpeg file. I'm pretty much following the example provided with it. I can understand all the Exif data blocks being written and everything, but how do I load the jpeg data like they suggested?…
tsf144
  • 817
  • 1
  • 8
  • 14
3
votes
0 answers

Failed to extract location (lat,long) coordinates from image media using EXIF in Android

I am trying to extract location coordinates from image media in my Android app but ExifInterface providing a null value even though image media contains those details. I had tried on Android 9, 10, and 11 OS emulators and devices. I am using…
Bipin Vayalu
  • 3,025
  • 2
  • 25
  • 39
3
votes
1 answer

Use libexif with libjpeg to set exif tags on an existing JPEG

In my C program I would like to use libexif along with libjpeg to set exif tags on an existing jpeg file present at a given path inputFilePath, and save the resulting jpeg to output path outputFilePath. The input jpeg file is large (40000 X 40000…
AmaltasCoder
  • 1,123
  • 3
  • 17
  • 35
3
votes
2 answers

libexif example to add a small Xml document in the exif data

Any libexif user/developer that could point me in the right direction on what are the appropriate call for adding a small custom XML document in the exif meta data of a JPG image ? I have been googling around for a while and can't figure it out. I…
Stéphane
  • 31
  • 1
  • 2
3
votes
1 answer

How to edit EXIF tag in C?

I have a JPG file that was taken using BlackBerry 10 Dev Alpha. This code (a slightly modified version of this example) prints the result correctly static char* read_tag(ExifData *ed, ExifIfd eid, ExifTag tag){ static char result[1024]; ExifEntry…
anta40
  • 6,511
  • 7
  • 46
  • 73
2
votes
2 answers

Get exif data in mac OS development

I'm brand new to objective-C and I'm trying to get exif data on some images in my Mac OS app. It looks like I need a C library to get the exif data, so I googled around, and found some C libraries, but I'm struggling on how to implement them. 1 Do I…
b-ryce
  • 5,752
  • 7
  • 49
  • 79
2
votes
2 answers

Using iphone-exif for EXIF data

I want to use iphone-exif library for EXIF data in my proj. But i dont know if i done any mistake or not it gives error like Undefined symbols for architecture i386: "_OBJC_CLASS_$_EXFJpeg", referenced from: objc-class-ref in…
iBhavik
  • 663
  • 11
  • 28
1
vote
1 answer

exiflib with MSVC++

I'm new to exiflib. I have downloaded the exiflib source file (libexif-0.6.20.zip), and included in my VC++ project. When I tried to build, it produces some linker errors, unresolved external symbol _exif_entry_get_value, symbol…
subair_a
  • 1,028
  • 2
  • 14
  • 19
1
vote
0 answers

Write exif data to jpeg stream

I try to insert some EXIF Data in a JPEG stream. I am using libexif for that. The libexif example shows how to open a file -> add the data -> and then save the file. What I have is a pointer (void * JPEGPointer) to a JPEG stream. So I want to just…
Miatorret
  • 11
  • 2
1
vote
1 answer

EXIF info in Python - libexif

I have been using pyexiv2 to read exif information from JPEG files in python, and noticed that one tag in particular - ExposureTime - is not reported the same by exiv2 as with another exif library, libexif. Any exiv2-based utility I've tried will…
j_marvin
  • 47
  • 3
1
2