Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 5 of 5

Thread: JPG's & Video Memory

  1. #1
    Junior Member Regular Contributor
    Join Date
    Jun 2000
    Location
    Portugal
    Posts
    223

    JPG's & Video Memory

    I'm tired of the tons of Mbytes that BMP's take!! I want to be able to read JPG's! Does anyone have some source code I could use? Or just an address of a site that could tell how?
    Another thing: using NeHe tutorials about texture, when we load them, do they go to the video card memory? If not, where to? And how do you take them out, free up the texture mem I mean.....

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Jun 2000
    Location
    Shreveport, LA, USA
    Posts
    1,757

    Re: JPG's & Video Memory

    Check out the Independent JPEG Group . I use their library and I'm quite satisfied. And don't be mislead by that webpage, their library includes JPEG compression and decompression, even though it just says compression.

    [This message has been edited by DFrey (edited 07-26-2000).]

  3. #3
    Junior Member Regular Contributor
    Join Date
    Apr 2000
    Posts
    116

    Re: JPG's & Video Memory

    I like intels jpg library. It's somewhere on their sight.

  4. #4
    Member Regular Contributor
    Join Date
    May 2000
    Location
    Batavia, NY, 14020
    Posts
    259

    Re: JPG's & Video Memory

    If you're using Win32, you can load JPEGs in Win98 and Win2K by loading a bitmap with the BI_JPEG type.

    Of course, you're going to have to load a file header, so go find the header type.



    Siwko
    - I am not opensource! -

  5. #5
    Junior Member Newbie
    Join Date
    Jun 2000
    Location
    HKG
    Posts
    20

    Re: JPG's & Video Memory

    In win32, u can also use OleLoadPicture to load the JPG first and then get the raw image to render.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •