Results 1 to 3 of 3

Thread: Saving OpenGL screen as bitmap?

  1. #1
    Junior Member Newbie
    Join Date
    May 2009
    Posts
    13

    Saving OpenGL screen as bitmap?

    What would be a way to save the current OpenGL screen into a bitmap? I know it'll involve glReadPixels() but how do you go about using it and using the data it collected to get a bitmap file? Thanks!

  2. #2
    Senior Member Regular Contributor
    Join Date
    Dec 2008
    Location
    USA
    Posts
    134

    Re: Saving OpenGL screen as bitmap?


  3. #3
    Senior Member Regular Contributor
    Join Date
    Mar 2003
    Location
    Los Angeles
    Posts
    374

    Re: Saving OpenGL screen as bitmap?

    Also, you might want to check out the Devil Image Loading and Writing library at -

    Devil Image Handling Library
    Am I doing your homework for you?

Similar Threads

  1. saving canvas into bitmap problem
    By in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 03-14-2004, 02:15 PM
  2. Replies: 3
    Last Post: 01-16-2004, 08:33 AM
  3. Facing problem regarding saving the bitmap.
    By Amol Joshi in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 11-27-2002, 05:29 AM
  4. Saving screen to bitmap
    By David in forum OpenGL: Advanced Coding
    Replies: 6
    Last Post: 09-28-2000, 10:13 AM
  5. Saving the screen as a bitmap
    By tmwp197 in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 03-12-2000, 12:57 AM

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