Skip to main content
gamedev.net
🔒 Locked

jpeg loader

Started by bschwagg May 29, 2002 at 1:47 PM 1 replies 450+ views
Original Post
bschwagg
bschwagg
does anyone know a link (or code) to load a jpeg in opengl? Even code for a converter would be fine. I''ve looked and looked, i know there should be one, but I can''t find anything. also, its in windows but I plan on making it portable so I can''t use any windows commands. Thanks!
cha cha cha
invective
invective
http://www.ijg.org/

its not openGL specific, but i assume that once the pixels are in memory you know how to get them into a texture.
_the_phantom_
_the_phantom_
see the front page about the DevIL lib as well, it''s x-cross platform and deals with more than just jpgs

Topic Locked

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

Sign in to reply to this topic.