[Qt-interest] New image metadata parser based on the Qt

Mihail Naydenov mlists at ymail.com
Wed Jan 26 09:18:27 CET 2011


Interesting, is there however a reason to start from scratch?
What is your goal, regarding the project? No lib dependencies? Small footprint? 
Test your skills? Do it "The Qt way", in hopes to be merged with it.

I am asking because, right now there are libs implementing this (and more), 
which, of course, can be wrapped in Qt API.
If you wish to only load the metadata, without the pixels, FreeImage[1] for one 
supports that, though the API is not as nice, because it is more generic, and it 
also depends on libjpeg and libtiff.

Now, regarding "the Qt way" - you should study its code, to see their coding 
style. The most important feature is the usage of pimpl idiom.

Still, it really depends on what you are aiming to achieve.

thumbs up
MihailNaydenov


[1] http://freeimage.sourceforge.net/



----- Original Message ----
> From: Sami Maisniemi <sami.maisniemi at katelabs.com>
> To: Qt-interest at qt.nokia.com
> Sent: Tue, January 25, 2011 10:20:36 PM
> Subject: [Qt-interest] New image metadata parser based on the Qt
> 
> Hi all,
> 
> I have created a new image metadata parser with the Qt and I have  released it 
>under the LGPL license. The parser supports TIFF and EXIF metadata.  The support 
>for XMP and IPTC metadata will be added in the future. The source  code can be 
>found from the following  location:
> 
> http://www.gitorious.org/qimagemetadata
> 
> The following  files are needed:
> 
> - QImageMetaData.h
> - QImageMetaData.cpp
> -  QImageMetaDataRational.h
> 
> The source code includes also some additional  files for debugging and testing, 
>but they are for development purposes  only.
> 
> The parser supports both TIFF and JPEG images and it has been  tested with unit 
>tests.
> 
> The following example shows how to use the parser  to display the manufacturer 
>and the model of the camera:
> 
> #include  "QImageMetaData.h"
> 
> QImageMetaData* metadata = new  QImageMetaData();
> 
> QString test = "test.tiff";
> 
> if  (!metadata->read(test)) {
>   qDebug() <<  metaData->errorMessage();
> } else {
>   qDebug() <<  metaData->make();
>   qDebug() <<  metaData->model();
> }
> 
> delete(metadata);
> 
> All comments and  feedback is welcome. I was informed that the contribution of 
>the parser should  wait until the new contribution process has been finished. 
>Meanwhile I intend to  improve the quality of the parser. Please let me know if 
>you to participate the  development. Naturally I will provide support if needed.
> 
> Regards  Sami
> 
> P.S. When you send comments and feedback, please keep in mind that  this is my 
>first open source project.
> 
> Sami Maisniemi | Imaging Specialist  | Kate Labs Ltd
> www.katelabs.com | +358 400 114  070
> 
> _______________________________________________
> Qt-interest  mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
> 


      



More information about the Qt-interest-old mailing list