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 2 of 2

Thread: Loading bitmap of format 1 bit per pixel

  1. #1
    Junior Member Newbie
    Join Date
    Dec 2008
    Posts
    3

    Loading bitmap of format 1 bit per pixel

    Hi,

    Is there any method to load a 1 bit per pixel bitmap to texture( using glTexImage2D or using some other functions )?

    I know that, I can load the image after converting it to 8 bit image. But I am looking for some direct method

    Thanks in advance

  2. #2
    Junior Member Regular Contributor
    Join Date
    Aug 2009
    Location
    Poland
    Posts
    109

    Re: Loading bitmap of format 1 bit per pixel

    You can use GL_BITMAP as format parameter to glTexImage, but it's probably deprecated (I don't remember right now).

Posting Permissions

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