- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am using Comapaq Visual Fortran 5.0. I have a subroutine to export my OpenGL graphics to a BMP file but it is based on reading the pixels of the screen and thus screen resolution can not be exceeded. I think that the OpenGL function "CreateDIBSection" might solve this problem but it seems to be missing from my fortran version. Does anyone have any idea how to sove this problem? If it can not be solved in this version then I would like to now which new version of Visual Fortran (Inel version 8.1 or Compaq/HP 6.6) is most suitable to handle the problem.
I am using Comapaq Visual Fortran 5.0. I have a subroutine to export my OpenGL graphics to a BMP file but it is based on reading the pixels of the screen and thus screen resolution can not be exceeded. I think that the OpenGL function "CreateDIBSection" might solve this problem but it seems to be missing from my fortran version. Does anyone have any idea how to sove this problem? If it can not be solved in this version then I would like to now which new version of Visual Fortran (Inel version 8.1 or Compaq/HP 6.6) is most suitable to handle the problem.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The att. code illustrates saving the screen to a BMP file, but the intro section which grabs the screen as a BMP can easily be generalized for arbitrary size and resolution.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page