本文介绍了使用C / C ++读/写文件元数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

通过网络搜索,找不到使用C或C ++读取/写入文件元数据的方法,但是,有一些工具可用于此,并且还有在C#和Java中的API来执行此操作。但我想用C或C ++从头开始。



例如,读/写图片元数据。
$ b

发现有三种格式的元数据写入文件。 EXIF,IPTC和XMP。



感谢。

解决方案

你想要从头开始吗?



无论如何,你需要文档,你可能还想看一个现有的图书馆的帮助,特别是如果你没有经验的



您是否试过?


Searched through net, could't find a way to read/write file metadata using C or C++, however, there are tools available for this, and also there are API's in C# and Java to do this. But I want to do it from scratch in C or C++.

For example, read/write image metadata.

Have found out that there are three formats in which metadata is written to files. EXIF, IPTC and XMP.

Thanks.

解决方案

Why would you want to do it from scratch?

Anyway, you need documentation and you may also want to look at an existing library for helps, expecially if you have no experience in the field.

Have you tried Exiv ?

这篇关于使用C / C ++读/写文件元数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-07 00:41