Results 1 to 3 of 3

Thread: load images from file

  1. #1

    load images from file

    Is there a standard way of loading images from files in openGL? I havn't found any functions that do this. GLReadPixels reads from a pointer to image data, but how could this be used?

    Are there any tutorials or anything that shows how its done? I just want to display 2d images read from file, in 24bit colour.


  2. #2
    Senior Member Regular Contributor
    Join Date
    Sep 2001
    macedon, ny

    Re: load images from file

    Go to, its called devIL, its a opengl syntax image library. It will load ANY image format into an opengl texture image.

  3. #3

    Re: load images from file

    Thank you,
    devIL may be just what I need.

Similar Threads

  1. Load images
    By ALASgc in forum OpenCL
    Replies: 2
    Last Post: 10-31-2014, 02:19 PM
  2. what is the easiest way to load images?
    By jenny88 in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 05-24-2011, 02:22 PM
  3. how to load images
    By Inugami in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 03-17-2008, 03:48 AM
  4. load images
    By ceca in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 12-09-2003, 02:52 PM
  5. Replies: 5
    Last Post: 12-14-2000, 03:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean