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.
Questions tagged [exiv2]
48 questions
1
vote
1 answer
push rejected Heroku Python Flask requirements failing exiv2==0.3.1
I am attempting to push my flask app to heroku for hosting. All was going well until the PUSH to heroku. I am receiving an error during remote:Building source: and the requirement for exiv2==0.3.1 cannot be satisfied. exiv2==0.3.1 I understand…

ThomasATU
- 572
- 1
- 5
- 15
1
vote
2 answers
Exiv2 with makefile
I need to include my Exiv2 extension in my project using Makefile.
I succeeded to run it directly through terminal with:
g++ -std=c++11 test.cpp -I/usr/local/include -L/usr/local/lib -lexiv2
My original Makefile (it works) important…

Tomer Barak
- 49
- 1
- 4
1
vote
0 answers
How to add zlib as an external project as a dependency for another external project in CMake?
I have a project where I write a library that uses the exiv2 library. exiv2 itself needs zlib. If I don't import zlib as an external project, I get it to work by installing the package zlib1g-dev (on Ubuntu), because then find_package( ZLIB REQUIRED…

stackprotector
- 10,498
- 4
- 35
- 64
1
vote
1 answer
Output specific line for exiv2?
Using exiv2, you can output image information in the terminal. However, it outputs several lines of information:
exiv2 -ps ~/filelocation/filename.jpg
Outputs something like this:
File name : ~/filelocation/filename.jpg
File size :…

Patrick Hennessey
- 453
- 2
- 16
1
vote
1 answer
How can I CMake find the package which was compiled
First of all I'm working with Centos 7
I'm trying to compile the latest darktable and I have overcome sveral problems, including compiling gphoto2, exiv2, etc.
But now when I try to build darktable using the basic instructions…

t0rdn3
- 23
- 6
1
vote
0 answers
exiv2 can't read or write to a DNG
I converted a raw Sony file (.ARW) to a .DNG format with Lightroom.
Now I would like to write new keywords to the IPTC of this .dng file with exiv2.
The command exiv2 -P I test5.dng gives me the error message:
"Error: Directory Sony2 with 25665…

Sulli
- 763
- 1
- 11
- 33
1
vote
2 answers
parse ACDSee categories
How could one parse a xml-like string and convert it a separated list?
I am trying to convert the following string:
6 Level
6.2 Level
…

asp
- 139
- 6
1
vote
1 answer
Qt won't compile a project using exiv2.dll
I am desperately trying to get a focal length from a JPG picture using both Qt (for the GUI) and exiv2 (for the EXIF datas) on Windows, plus QtCreator as an IDE. I went through all the building of this so well documented library, which gave me some…

Tsouki S.
- 13
- 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
vote
1 answer
QT/exiv2 app crashes on some Windows machines
I'm not a Windows user but I'm trying to help port a QT project into Windows that's running into some rather strange issues (to me, anyway). I hope someone can help point me in the right direction.
So, I can successfully build the project on a…

user2989419
- 21
- 3
1
vote
1 answer
Exiv2 - some Image tags not writing, but some do
Using the Exiv2 library to write some exif tags to an image i'm running the below code, similar to the examples provided on the Exiv2 site.
However, some throw errors and some simply don't write but throw no errors. I've noticed that tags with…

barnabus
- 862
- 7
- 26
0
votes
1 answer
Exiv2 in 64-bit (or another EXIF writer)
I need a non-destructive way of adding EXIF tags to jpeg images from .NET code. So far I have found Exiv2 and the .NET wrapper Exiv2net that works well when adding or updating tags. However, my code needs to run on a 64-bit machine (and compiled for…

HakonB
- 6,977
- 1
- 26
- 27
0
votes
2 answers
Exiv2: How to read photo with UTF8 filepath?
I am using GTKmm and exiv2 to read EXIF metadata form photos. However Exiv2 functions accept only std::string file paths... When I try it on not ASCII filepath it crushes the program.
Is there any way to read that data? It would be great if Exiv2…

Marco
- 582
- 1
- 6
- 17
0
votes
1 answer
replace an empty string for exiv2 output
I'm trying to collect image metadata using exiv2 tool.
I do
exiv2 -q -K Xmp.photoshop.Credit image.jpg
if image haven't any value for such field, I don't get anything in the console.
How I can replace an empty output by some stub like 'empty' word?

K. S.
- 11
- 1
0
votes
1 answer
Problem compiling exiv2 code in VS 2022: Undefined Reference/symbol error
I have some code in Linux that uses exiv2 to read the metadata of a folder full of photos, depending on requirements it can reconstruct missing metadata, and stamp a logo as well as lat/long onto the photos. I'm trying to port it into windows visual…