12 Responses to “Using QMeta to extract Exif data in your Qt applications”

  1. Hi,
    Do you have idea , how to write Exif in jpeg file ?

    • Well, I was wondering what’s the best way to add/modify metadata.

      • 3 sdecorme

        Actually my basic photo have no metadata so I’ve to add them. It seem to be more difficult then modify it.
        Thanks.

  2. 4 tomas

    hello,
    When I use your function to read exif from jpeg file, I encounter an infinite loop problem with a jpeg picture. It seems occured in Exif::ReadIfds of exif.cc. I send this jpeg picture to your email, could you please give me some suggestion about this problem? Thanks a lot.

  3. Hello,
    can you write a qmeta.pro file (QT-Project file) please.
    I have some problems to include this library into my project.

    • Hi, I think you need to add something like the following code to your QT’s `pro` file. However, the following code is used under Unix environment.

      unix {
      INCLUDEPATH *= /usr/include
      LIBS += -lqmeta
      }

      You are required to compile and install the qmeta library at first.

      • 7 Hien

        Hi Olli,

        This is the error message that I am getting from qt while running the program
        error while loading shared libraries: libqmeta.so: cannot open shared object file: No such file or directory.

        These are the important bits in my .pro file
        LIBS += -lhighgui \
        -lm \
        -lcv \
        -lhighgui \
        -lcvaux \
        -lqitty \
        -lqmeta

        INCLUDEPATH += /usr/local/include/opencv -L /usr/local/lib \
        /usr/local/include/qitty -L /usr/local/lib \
        /usr/local/include/qmeta -L /usr/local/lib

        Do you know why I am getting this error message? I compiled and installed both qitty and qmeta without error.

    • You need to tell QT the location of your compiled qmeta library. It seems that you installed it to the `/usr/local/lib` directory instead of the normal `/usr/lib` directory.

      • 9 Hien

        I followed the instructions on the README and it seems to have installed it there by default. I am really new at this, but is qmeta.so the compiled library? It is in my /usr/local/lib directory.

  4. 10 julien

    hello.
    I want toi use your library, under QT4 on Debian Squeeze with QT Creator. I’ve download it, mais I don’t now how to add it in project ? Can you help me ?

  5. I find an error in exif.cpp :
    ———————————

    if(data->mid(6,2) == “II”){ // Exif section in Intel order
    //qDebug() <mid(6,2);
    MotorolaOrder = 0;
    }else{
    if(data->mid(6,2) == “II”){ // Exif section in Motorola order
    //qDebug() <mid(6,2);
    ————————————–
    is better with ‘MM’for Motorola :
    —————————————
    if(data->mid(6,2) == “II”){ // Exif section in Intel order
    //qDebug() <mid(6,2);
    MotorolaOrder = 0;
    }else{
    if(data->mid(6,2) == “MM”){ // Exif section in Motorola order
    //qDebug() <mid(6,2);

    —————————————

    Fabrice

    contact@opendent.fr


Leave a Reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.