Using JPEG to load on DirectX Surface

Started by
5 comments, last by SelethD 20 years, 3 months ago
Does anyone know of any tutorial or source code for loading a .jpg image instead of a .bmp that can be loaded onto a DirectDrawSurface ?
Advertisement
Have a language and/or DirectX version preference?
.
http://www.flipcode.com/cotd/COTD-JpegLib.shtml
D3DXCreateTextureFromFileEx() will accept and load .jpg files.
Thanks, that answerd my questions
I''m currently looking to add a jpg loader to my software 2d library. has anyone actually got the Intel Jpeg Library (IJL mentioned in that flipcode article? it is no longer available on the Intel site. if you do, please email me.
JRA GameDev Website//Bad Maniac
the IJL library is actually just the dll file. You just need to load the dll and access the function to read the jpeg file into a buffer. There should be other tutorials about it if you search on google.

This topic is closed to new replies.

Advertisement