Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29285 Discussions

How to save OpenGL graphics to DIBitmaps

istvanka
Beginner
442 Views
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.
0 Kudos
1 Reply
Paul_Curtis
Valued Contributor I
442 Views
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.
0 Kudos
Reply