Results 1 to 6 of 6

Thread: Image Capture

  1. #1
    Junior Member Newbie
    Join Date
    Sep 2000
    Posts
    8

    Image Capture

    Does anyone know of a program that will allow the conversion of the data in an OpenGL frame buffer to a file?

    I've tried ksnapshot, and it doesn't seem to like grabbing OpenGL images.

    Thanks,
    B

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Oct 2000
    Location
    Fargo, ND
    Posts
    1,753

    Re: Image Capture

    I'm not sure what ksnapshot is, but if you want to do it programmatically, just do a glReadPixels and dump the data to an image file format. If you don't mean programmatically (as I suspect could be the case) just do an alt-Print Screen, then in any program like Photoshop (or even Paint) just copy the contents of the clipboard to an image.
    Deiussum
    Software Engineer and OpenGL enthusiast

  3. #3
    Member Newbie
    Join Date
    Jul 2000
    Location
    Millis, MA USA
    Posts
    36

    Re: Image Capture

    Does anyone know if alt-print scrn works for linux?

  4. #4
    Senior Member Regular Contributor
    Join Date
    Nov 2000
    Location
    State College, PA
    Posts
    186

    Re: Image Capture

    Not to my knowledge, although I'm sure you could set it up to use ksnapshot, or whatever.

    Incindentally, I've never had trouble using ksnapshot to capture the screen, GL or no...

    Chris

  5. #5
    Member Contributor
    Join Date
    Oct 2000
    Location
    london, england
    Posts
    76

    Re: Image Capture

    When i try alt & printScreen and past it i get a load of crap dose any one know why

    zee
    Later

    Zee

  6. #6
    Senior Member OpenGL Guru zed's Avatar
    Join Date
    Nov 2010
    Posts
    2,466

    Re: Image Capture

    see the BGR extension (though its now part of 1.2) demo on my site. it saves the buffer to a targa file

Similar Threads

  1. Capture an image if the window is hide?????
    By pererm in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 01-11-2018, 04:00 PM
  2. How to capture from FBO ?
    By smogzer in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 05-11-2007, 01:11 AM
  3. Capture a Opengl Image from Window
    By aix73 in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 03-27-2001, 07:07 AM
  4. screen capture
    By in forum OpenGL: Linux
    Replies: 2
    Last Post: 09-27-2000, 12:10 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