IJG庫

網址:http://www.ijg.org/
Build過程:
這裏寫圖片描述
1)下載源代碼:http://www.ijg.org/files/jpegsr9b.zip
2)解壓到:F:\IJG\jpeg-9b
3)運行vc命令提示符:Visual Studio Command Prompt (2010)
4)cd 到F:\IJG\jpeg-9b
5)執行命令:nmake -f makefile.vc setup-v10
執行之後就生成了相應的sln + vcxproj,都是win32|Release的,需要debug的,自己再手動添加即可。
需要x64的也同樣配置一下即可。
6)先編譯jpeg.sln,再編譯apps.sln

最後自己參考源代碼目錄裏面的文檔去使用即可:
User documentation:
install.txt : How to configure and install the IJG software.
usage.txt : Usage instructions for cjpeg, djpeg, jpegtran, rdjpgcom, and wrjpgcom.
*.1 : Unix-style man pages for programs (same info as usage.txt).
wizard.txt: Advanced usage instructions for JPEG wizards only.
change.log: Version-to-version change highlights.

Programmer and internal documentation:
libjpeg.txt: How to use the JPEG library in your own programs.
example.c: Sample code for calling the JPEG library.
structure.txt: Overview of the JPEG library’s internal structure.
filelist.txt : Road map of IJG files.
coderules.txt: Coding style rules — please read if you contribute code.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章