07-11-2013 07:15 AM
I want to read EXIF data of an JPEG image in my Cascades app, I tried to do that with with a library called libexif from Native libraries collection for BB10, but couldn't succeed. I'm a newbie to C/C++ language, so firstly I find it little hard to use C/C++ libraries with Cascades.
I'm using this example from the library.
but I get stuck at this function exif_data_new_from_file(path). No matter what path I put into this function it doesn't load the image/data. I have a jpeg image called sample.jpg in my assets folder where we put our QML files.
Have you guys tried something like this before? I'll appreciate any working examples or any help.
07-15-2013 01:42 AM
There are samples of using EXIF lib in cascades.
As for exif_data_new_from_file function: in what format do you pass path to it?
It should be char*. Cascades uses QString, witch can be converted with: