Skip to main content
GameDev.net gamedev.net
🔒 Locked

Some good JPEG libraries

Started by Adrian Velcro Oct 10, 2006 at 1:13 PM 3 replies 900+ views
Original Post
Adrian Velcro
Adrian Velcro
Can you recommend me some good JPEG libraries whose load functions will return a pointer to bits so I can display jpeg pictures via GDI? I need some small, compact jpeg library only to handle jpeg pictures (load/save).. I know few of them, few do not return pointer to bitmap bits, and few are so large..... Some recommendations?
Adrian Velcro
Adrian Velcro
Thanks for your recommendations. But I saw that its DLL is 800kb.. It is about 40 times larger than application I'm creating.

And, I think it is not just for JPEG - and that's probably why it is so big.

However, I need something like AllegroJPEG except that I can handle bitmaps with GDI...

All I need is - Jpeg-to-bitmap and vice versa.
bubu LV
bubu LV
libjpeg: http://www.ijg.org/files/jpegsrc.v6b.tar.gz
MatrixCubed
MatrixCubed
You could scrounge for a way to convert JPEG to BMP directly, but using another lib would at least save you R&D time for something that is trivial and shouldn't bog you down early on in your project.

If you're particularly concerned about DLL/EXE sizes, consider using UPX to deflate them.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.