实例或通过libjpeg涡轮增压的TurboJPEG的教程 [英] Examples or tutorials of using libjpeg-turbo's TurboJPEG

查看:1768
本文介绍了实例或通过libjpeg涡轮增压的TurboJPEG的教程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

介绍了这里的libjpeg涡轮增压的说明TurboJPEG API这样的:这个API包装的libjpeg涡轮增压,并提供一个易于使用的界面,COM pressing和DECOM pressing JPEG在内存中的图像。伟大的,但是否有使用这个API提供的一些坚实的例子吗?只是希望DECOM preSS在内存中一个相当香草JPEG。

The instructions for libjpeg-turbo here describes the TurboJPEG API thus: "This API wraps libjpeg-turbo and provides an easy-to-use interface for compressing and decompressing JPEG images in memory". Great, but are there some solid examples of using this API available? Just looking to decompress a fairly vanilla jpeg in memory.

我发现了几个位,如<一个href=\"https://github.com/erlyvideo/jpeg/blob/master/c_src/jpeg.c\">https://github.com/erlyvideo/jpeg/blob/master/c_src/jpeg.c,出现使用TurboJPEG API是,但有什么更坚实/不同的例子?

I've found a few bits such as https://github.com/erlyvideo/jpeg/blob/master/c_src/jpeg.c, which appears to be using the TurboJPEG API, but are there any more solid/varied examples?

有关的libjpeg涡轮源是有据可查的,这样做的帮助。

The source for libjpeg-turbo is well documented, so that does help.

推荐答案

在最后,我用随机code的组合在互联网上找到(如的 https://github.com/erlyvideo/jpeg/blob/master/c_src/jpeg.c )和.c和对于头libjeg涡轮增压的文件,这是有据可查的。
的官方API是一个很好的信息来源以及。

In the end I used a combination of random code found on the internet (e.g. https://github.com/erlyvideo/jpeg/blob/master/c_src/jpeg.c) and the .c and header files for libjeg-turbo, which are well documented. This official API is a good information source aswell.

这篇关于实例或通过libjpeg涡轮增压的TurboJPEG的教程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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