libjpeg的API和参考 [英] libjpeg API and Reference

查看:691
本文介绍了libjpeg的API和参考的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法找到详细说明函数的调用的API,并返回值...标头是不完全很干净要么...

I am having trouble finding an API that details functions calls and return values... The headers aren't exactly very clean either...

我发现吨的例子,但我感兴趣的错误处理(返回值)。我在接近这个错误,因为我撕裂了我的头发试图找到一些基本为这个众所周知的库函数列表。

I have found tons of examples, but I'm interested in error handling (return values). Am I approaching this wrong because I'm tearing my hair out trying to find something as basic as a function list for this well known library.

推荐答案

有中的 libjpeg.txt

的libjpeg是一个非常低的水平,陡峭的学习曲线,老同学C库。要有效地使用它,你需要熟悉的setjmp和longjmp,C结构布局,函数指针,和许多其他低C级的东西。这是一个熊的工作,但可以做很多事情以最少的资源使用情况。

libjpeg is a very low-level, steep-learning-curve, old school c library. To use it effectively you need to be familiar with setjmp and longjmp, c structure layouts, function pointers, and lots of other low-level C stuff. It's a bear to work with but possible to do a great deal with minimal resource usage.

该文档是不是很大。我认为作者意图是使用这个库有人会能够通过源代码阅读和计算出的东西是如何工作的。

The documentation is not that great. I think the authors intended that anybody using this library would be able to read through the source and figure out how the stuff works.

这篇关于libjpeg的API和参考的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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