使用c ++在windows上读/写exif / jpeg [英] Read/Write exif/jpeg on windows using c++

查看:127
本文介绍了使用c ++在windows上读/写exif / jpeg的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Visual Studio 2012,我想读/写exif / jpeg图像。我知道有一些图书馆周围为此,但我想知道是否有任何图书馆与VS交付这方面?



我需要在商业产品中使用它们,因此我需要一个允许我在不购买许可证的情况下这样做。

(位图)和矢量图像(元文件)的Image类。 Bitmap类和
元文件类都继承自Image类。 Bitmap类
通过提供用于加载,保存和操作光栅图像的额外
方法来扩展Image类的功能。
Metafile类通过
扩展Image类的功能,提供用于记录和检查向量
图像的其他方法。


查看:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms533815(v = vs.85).aspx



图片元数据位于如何阅读图片元数据子类别中:

 code> GDI +目前支持TIFF,JPEG,Exif和PNG文件格式的元数据。 


I am using Visual Studio 2012 and I want to read/write exif/jpeg images. I know that there are some library around for this, but I am wondering if there is any library shipped with VS for this?

I need to use them in a commercial product and hence I need one that allow me t do this without buying a license.

解决方案

Windows GDI+ provides the Image class for working with raster images (bitmaps) and vector images (metafiles). The Bitmap class and the Metafile class both inherit from the Image class. The Bitmap class expands on the capabilities of the Image class by providing additional methods for loading, saving, and manipulating raster images. The Metafile class expands on the capabilities of the Image class by providing additional methods for recording and examining vector images.

See: http://msdn.microsoft.com/en-us/library/windows/desktop/ms533815(v=vs.85).aspx

Image metadata is in the subcategory How to read image metadata, saying:

GDI+ currently supports metadata for the TIFF, JPEG, Exif, and PNG file formats.

这篇关于使用c ++在windows上读/写exif / jpeg的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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