View Full Version : How to generate a Texture with a jpg resource?
09-11-2001, 07:23 PM
I want to generate a Texture with a jpg resource(Not a jpg file),but www.ijg.org (http://www.ijg.org) only
provide a jpg file example.How to read a jpg resourece?
09-13-2001, 05:35 AM
There are several open source projects at www.sourceforge.com (http://www.sourceforge.com) that will read JPEG (and other formats) and convert them to OpenGL texture maps.
My BMGLib project uses the IJG code to read JPEGS. It will export the data in a format that can be used by OpenGL. You can download the project from my web site ( members.home.net/scottheiman/ )
09-13-2001, 06:57 PM
Thank you very much!!!
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.