Menu

How to load Bitmap files

2002-09-08
2012-09-26
  • Nobody/Anonymous

    I want to know how to load .bmp files into a two dimensional array of rgb pixels (NOT FOR OPENGL USE).  Thanks

     
    • Eric Ross

      Eric Ross - 2002-09-09

      The only way I know how to do that is manually using GetPixel..

      void GetPixel(HDC hdc, int x, int y);

      I aint smart nuff to roll my own bitmap loading code yet, I just use LoadImage()...

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.