Questions tagged [exiv2]

Exiv2 is a C++ library and a command line utility to manage image metadata. It provides read and write access to the Exif, IPTC and XMP metadata of images in various formats.

48 questions
0
votes
0 answers

MVSC 2022 - EXIV2 error - No CMAKE_C_COMPILER - Conan install failed

Using Windows 10 machine. I have cloned exiv2 from GitHub with MVSC 2022, which I configured with Visual C++ 2022. I have also installed Conan on my machine, and Conan is in the path. When CMake parses the CMakeLists.txt file, I get the following…
0
votes
1 answer

Exiv2 won't persist XMP to an image. image->writeMetaData() writes no metadata. Where is my error?

when I try to add XMP metadata to a file using exiv2 as library it just won't stick. After executing my code the file was modified, but has not changed in size and contains no XMP metadata. The following code is my testcase. string fileName =…
0
votes
1 answer

exiv2 UserComment metatag

What is the difference between the following statements for setting a comment string exiv2 -c tera img.JPG exiv2 -M"set Exif.Photo.UserComment adagio" img.JPG I can access them with $ exiv2 -p c img.JPG tera $ exiv2 -p S img.JPG | grep adagio …
phoxd
  • 1,546
  • 3
  • 12
  • 26
0
votes
2 answers

keywords added by exiv2 not found

I export images using Lightroom, with keywords in the IPTC metadata. I then use exiv2 to add keywords. I then upload my images to an online website. The website sees the keywords added by Lightroom, but not the keywords added by exiv2. I can see the…
Sulli
  • 763
  • 1
  • 11
  • 33
0
votes
1 answer

JNI 'problematic frame' causes JVM to crash

I'm using JNI to access the exiv2 library (written in C++) in Java and I'm getting a weird runtime error in the JNI code. I've tried using various -Xms and -Xmx options, but that seems to have no affect. I've also tried running this code on JDK1.7.0…
HJED
  • 957
  • 1
  • 8
  • 16
0
votes
1 answer

Ubuntu libexiv2.so.26 missing error message

I am working with the exiv2 library. I currently faced an issue, and i can't find my way out of it. Here is the issue. I installed the exiv2 library. When I try to run it, the following error is given. exiv2: error while loading the shared…
0
votes
0 answers

Add external libraries or SDK in C++ Netbeans on Mac OSX

I am looking for a clear cut answer kind of new to c++ coming from a JAVA background where you just add the JAR file to your project. I am trying to build a project which examines metadata so I am using Exiv2 I want to add this to my project how do…
0
votes
1 answer

How to convert const Exiv2::Value to int

I'm using Exiv2 to take the metadata of photograph. I would like to use some value of these metadata. but I have no idea how to convert exiv2 value to int. here is my souse cord. int metadetascanner(const char* img) { try { …
0
votes
1 answer

Error C2511 with QtLogger

Good morning, I'm currently working on Qt project ( software used: VS 2010), in my QLogger.cpp, i have an C2511 error with my function addDestination, but i don't know why, because all my functions are correctly used. I'm coding in release mode,…
0
votes
1 answer

Pyexiv2 and PIL file blocking

I'm writing a script to save metadata to jpg images and resize them for Wordpress. It's been going well, working with jpegs and pngs until I try and use it on an image directly after resizing a jpg (but not a png) with PIL.Image.thumbnail() I've…
Derwent
  • 606
  • 1
  • 5
  • 13
0
votes
1 answer

"unable to parse" IPTC Date to XMP DateTime in exiv2

I am hacking a bit on exiv2, trying to extend it's date/time conversion functions between EXIF, IPTC, and XMP. http://dev.exiv2.org/issues/864 IPTC Date and IPTC Time are stored in separate fields, so first I try to parse IPTC Date, later in my…
asp
  • 139
  • 6
0
votes
1 answer

Attach the extracted metadata to original file

I have some files from which i removed the metadata and extracted it in YML file using exiftool. Now i want to attach those files again to same files. I tried EXIV2 but its not working. Is there any tool or specific command to make it work. Thanks…
Shilpi Agrawal
  • 595
  • 3
  • 11
  • 26
0
votes
1 answer

Exiv2 tag insertion support

Is there a limitation in exiv2's functionality that prevents it from inserting the tag 'Exif.SubImage1.OpcodeList3' to a DNG file? I am trying to copy this tag from one DNG file to another with no success. My source file was printed…
Assaf
  • 184
  • 1
  • 11
0
votes
1 answer

Example of using exiv2 to strip exiv tags from an image in Python

I'd like to call exiv2 from Python to strip all EXIF tags from an image, then calculate the md5 hash of the image without the EXIF tags from python. What's the best way to do this?
ensnare
  • 40,069
  • 64
  • 158
  • 224
0
votes
1 answer

How to convert a file name from decimal to heximal?

From this website and on the internet I have looked for this answer, but could not find it specific. My knowledge of Linux is not so big, but here is my problem: I would like to convert a JPG file with a 8 characters file name. So from 2014-12-12…
Helfenstein
  • 315
  • 1
  • 4
  • 13