便携式Bmp-Png-Tiff-Jpeg库 [英] Portable Bmp-Png-Tiff-Jpeg library

查看:88
本文介绍了便携式Bmp-Png-Tiff-Jpeg库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我正在寻找一个免费的便携式库来读取C ++程序中最常见格式的图像文件:Bmp,Png,Tiff和Jpeg是必须的。



该库必须在Windows / Visual C ++以及Linux Ubuntu / gcc(Eclipse)下可用。可以预编译或源代码。



我需要一个在这些环境下工作的成熟解决方案。



我知道有ImageMagick。我正忙着尝试FreeImage(但面临一些问题)。还有很多其他解决方案,我没有时间单独尝试。我也不想整合为这些格式提供的个别包裹。



您能告诉我您个人使用过的并符合我要求的东西吗? />


非常感谢

Hi all,

I am looking for a free portable library to read images files in the most common formats from a C++ program: Bmp, Png, Tiff and Jpeg are a must.

The library must be usable under Windows / Visual C++ as well as Linux Ubuntu / gcc (Eclipse). Can be precompiled or source code.

I need a proven solution that works under these environments.

I know that there is ImageMagick. I am busy trying FreeImage (but facing a few issues). There are plenty of other solutions that I have no time to try individually. Nor do I want to integrate the individual packages that are provided for these formats.

Can you advise me of something you have used personally and that meets my requirements ?

Thanks a lot

推荐答案

ImageMagick会做的伎俩,看看:

ImageMagick:转换,编辑或撰写位图图像 [ ^ ]和 Magick ++ C ++ API [ ^ ] - 这是一个很棒的套餐。



祝你好运

Espen Harlinn
ImageMagick would do the trick, have a look at:
ImageMagick: Convert, Edit, Or Compose Bitmap Images[^] and Magick++ C++ API[^] - it's a great package.

Best regards
Espen Harlinn


CxImage [ ^ ]


最后,我使用了FreeImage并使其在Windows和Linux Ubuntu下运行,32位和64位。出于某种原因,我无法在Linux下编译源代码,不得不依赖自建包。无论如何,FreeImage给了我预期的所有服务。总计两到三天的工作用于集成和主控。



从那时起,我还在另一个应用程序中集成了Jpeg和Png的正版软件包(IJG JPEG-9a)和Lib Png-1.6.2)。我没有将它们用于全功率(这需要一辈子),但源代码在Windows和Linux下无缝编译。您需要找到合适的示例程序来组装正在运行的解决方案。
In the end, I have used FreeImage and made it run under Windows and Linux Ubuntu, both 32 and 64 bits. For some reason, I couldn't compile the source code under Linux and had to rely on the self-building package. Anyway, FreeImage gave me all the services I expected. Two to three days of work in total for integration and mastership.

Since then, I have also integrated genuine packages for Jpeg and Png in another application (IJG JPEG-9a and Lib Png-1.6.2). I have not used them to full power (this takes a lifetime), but the sources compiled seamlessly under Windows and Linux. You need to find good sample programs to assemble a running solution.


这篇关于便携式Bmp-Png-Tiff-Jpeg库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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