Advertisement

jpeg loading?

Started by March 26, 2002 09:56 AM
7 comments, last by daher 22 years, 11 months ago
As i was trying to find some nice website which teaches how to load jpeg images, and by looking at the file format's info at wotsit.org i started thinking are there any tutorials on loading these files? or at least a sourc code that i can use on my engine? I've searched google's results as well looking for any thing like that, and I've found one, but didn't work. its here. so any kind a help?
If you see this over someone's head, then its me!
The Railgun Master
DaHeR
Edited by - daher on March 26, 2002 11:17:51 AM
____________________________________MSN | AIM | YIM | ICQ
why reinvent the wheel?
if ya wanna load jpgs then use a lib

http://openil.sourceforge.net/

DevIL (previously OpenIL) is a rather nice lib for loading images, and there is even nehe tutorial ports which use this lib to load in the textures
Advertisement
If you don''t use a lib, you''re gonna decode all types of jpeg (there are several types of files) which is a real pain in the @$$ and which is IMHO a waste of time.
If you want to write your own library, that means you want some nice features such as progressive loading.
But whatever the feature you want to provide, I bet that there always exists at least one free library that also provides it.

Best of luck if you still want to make your own library.
think you can find something here:

http://romka.demonews.com/index_eng.htm

hope it helps
Have a look to the independant JPEG group''s library. It''s free, it''s good, and it loads JPEG : http://www.ijg.org/files/.

By the way, DevIL uses it to load JPEG.
Check it out in my useful collection of things in the project (link below).
Cheers.

" Do we need us? "


Ionware Productions - Games and Game Tools Development

Advertisement
I''m using (slightly extended) GLBMP library for my texture loading. I lost a link to it, though.
---visit #directxdev on afternet <- not just for directx, despite the name
how large is the independant JPEG group''s library download?
-------------------------------------------------------BZZZZTT - CRASH - BANG"What was that?!""Captain, it appears that we have encountered a strange sub-space anomaly. I'm getting a high reading of tracheons beams. The anomaly seems to be some kind of rift in the space-time continuum. -- Never mind, Bones was just using the microwave again."
quote:
Original post by DDSquad
how large is the independant JPEG group''s library download?



Something like 600 Kb...

This topic is closed to new replies.

Advertisement