windows 用于解压缩的免费 JPEG2000 库或 SDK
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/622020/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Free JPEG2000 Library or SDK for de-compression
提问by Nate Lockwood
I have written code to compress and decompress image files using a proprietary SDK for transmission from an aircraft via satellite. Unfortunately a license must be purchased for decompression as well as compression. Until now my applications have been mostly used in-house so I can keep track of the licenses and distribution. Now I need to provide the applications for outsiders and I can neither control distribution nor want to pay for the licenses.
我已经编写了使用专有 SDK 压缩和解压缩图像文件的代码,以便通过卫星从飞机上传输。不幸的是,必须购买许可证才能进行解压缩和压缩。到目前为止,我的应用程序主要在内部使用,因此我可以跟踪许可证和分发情况。现在我需要向外人提供应用程序,我既不能控制分发也不想支付许可证费用。
Does anyone know of free de-compression programs, SDKs, or libraries? I program in C++ for Windows NT, 2000, XP.
有谁知道免费的解压缩程序、SDK 或库?我用 C++ 为 Windows NT、2000、XP 编程。
My image files are raw data, monochrome, with 16bit unsigned pixels and the compression that is used is lossless or very mildly lossy.
我的图像文件是原始数据、单色、16 位无符号像素,并且使用的压缩是无损或非常轻微的有损。
回答by kevindaub
回答by Anonymous
回答by laksoo
Check out j2k-codecIt's not free but not expensive either.
查看j2k-codec它不是免费的,但也不贵。
I've bought it (v1.7) myself and been using it for 4 years. Decoding is very fast, no error encountered so far.
我自己购买了它 (v1.7) 并使用了 4 年。解码非常快,目前没有遇到错误。
For encoding, I use ER Mapper SDK.
对于编码,我使用 ER Mapper SDK。
I don't know how much improvements Jasper
or OpenJPEG
has shown these years, but those free libraries were too slow for my use. (Both encoding and decoding slow)
我不知道这些年来有多少改进Jasper
或OpenJPEG
显示出多少,但那些免费库对我来说太慢了。(编码和解码都很慢)
回答by Adam Hollidge
Magick++ is a C++ binding for ImageMagick that I thinkexposes ImageMagick's JPEG-2000 functionality. ImageMagick uses libjasper, which Doug mentioned. This might do the trick for you (and hopefully for me, too).
Magick++ 是 ImageMagick 的 C++ 绑定,我认为它公开了 ImageMagick 的 JPEG-2000 功能。ImageMagick 使用了 Doug 提到的 libjasper。这可能对你有用(希望对我也有用)。
回答by Chris Becke
Why would anyone tagetting the windows platform pay someone for a Jpeg library when GdiPlus does it already?
当 GdiPlus 已经这样做时,为什么标记 windows 平台的人会为 Jpeg 库付费?
http://msdn.microsoft.com/en-us/library/ms533844(VS.85).aspx
http://msdn.microsoft.com/en-us/library/ms533844(VS.85).aspx
should be a good starting point. gdiplus has the 2nd best jpeg decompression speedwise (in my tests for whatever that counts for). And is distributed as an OS component with Windows 5 and up. i.e. Windows XP and greater.
应该是一个很好的起点。gdiplus 具有第二好的 jpeg 解压缩速度(在我的测试中,无论什么重要)。并作为 Windows 5 及更高版本的操作系统组件分发。即 Windows XP 及更高版本。
If, for any reason, GdiPlus is unacceptable...
如果出于任何原因,GdiPlus 是不可接受的......
Intel used to distribute a jpeg decompression * compression library, inventively named the "intel jepg library" or ijl. the redistributable consists of a single dll, ijl15.dll If you can find the original distribution, its licensed for free distribution and use. Intel just dont host it any more. Its been replaced with the intel performance primitives library, which does contain jpeg compression and decompression, but the per seat licensing is very fair, and again theres no limit on redistribution of the coffredistributables.
Intel曾经发布过一个jpeg解压*压缩库,创造性地命名为“intel jepg library”或ijl。可再发行组件由单个 dll ijl15.dll 组成,如果您能找到原始发行版,则其许可免费分发和使用。英特尔只是不再托管它。它已被 intel 性能原语库所取代,该库确实包含 jpeg 压缩和解压缩,但每个席位的许可非常公平,并且再次对coff 可再分发文件的再分配没有限制。