我可以从Qt程序(在嵌入式linux)使用什么EXIF lib? [英] What EXIF lib can I use from a Qt program (on embedded linux)?

查看:329
本文介绍了我可以从Qt程序(在嵌入式linux)使用什么EXIF lib?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以推荐一个漂亮的exif lib tiff img,可以用于一个Qt程序?
我想读取和写入exif数据。

Can anybody recommend a nice exif lib for tiff img that can be used with a Qt program? I would like to both read and write exif data.

请注意,我需要一个与关闭源程序兼容的许可证,
因此,使用LGPL或BSD样式许可证的库将非常好。

Please note that that I need a license that is compatible with a closed source program, so a lib that is using LGPL or a BSD style license would be really nice.

我的第一个计划是使用 QExifImageHeader QExifValue 在Qt扩展,
,但后来我注意到,扩展从来没有获得LGPL许可证,是它的顶部是

My first plan was to use QExifImageHeader and QExifValue in Qt Extended, but then I noticed that Extended never got the LGPL licence and is on top of that it is discontinued....

使用的平台是嵌入式linux。

The platform used is Embedded linux.

感谢
Johan

Thanks Johan

更新

由于我为这个问题添加一个赏金,
我正在改进的问题是要添加exif数据
在tiff图像从Qt程序。

Since I'm adding a bounty for this question, I'm refining the question to be about to add exif data on a tiff image from a Qt program.

一个很好的lib使用和使用的例子将是非常好的。

A nice lib to use and a example on how to use it would be really nice.

推荐答案

即使它不是Qt相关的,也许你最好的选择是 libexif C EXIF库 。它是一个GNOME核心库(因此被广泛部署,测试和记录),仍然是完全工具箱无关,没有依赖性和LGPL许可。它是一个C库,因此它的API不习惯Qt,但它是强大的,易于使用。

Even if it is not Qt-related, probably your best option is the libexif C EXIF library. It is a GNOME core library (thus is widely deployed, tested and documented), still it is completely toolkit-agnostic, has no dependences and is LGPL licensed. It is a C library, thus its API is not idiomatic of Qt, nonetheless it is powerful and easy to use.

我见过很多基于Qt的软件希望使用以C ++编写的 exiv2库,但exiv2是GPL(可选择购买商业许可证)和优惠或多或少相同的libexif的功能。我的建议是尝试libexif,只有如果它不满足你的要求,尝试exiv2。

I've seen a lot of Qt-based software that prefer to use the exiv2 library, which is written in C++, but exiv2 is GPL (with option to buy a commercial license) and offers more or less the same functionality of libexif. My suggestion is to try libexif and, only if it does not satisfy your requirements, try exiv2.

这篇关于我可以从Qt程序(在嵌入式linux)使用什么EXIF lib?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆