Game Development Community

Jpeg Loader

by Chanel Munezero · in Technical Issues · 07/06/2003 (5:52 am) · 2 replies

Im making a 2d game and I just want to know how to load a jpeg image into a directdraw surface. If anybody has a link or actual code, I would really appreciate it. thanks.

#1
07/09/2003 (5:43 pm)
Have you tried IJG's JPEG lib?

http://www.ijg.org/
#2
07/09/2003 (5:52 pm)
You can do it using this article (and the Intel JPEG library, but libjpeg will work too)
www.gamedev.net/reference/articles/article1305.asp