I want to know how to store/save graphics output of c program as bmp file, so I can
view it as bmp file and also how to take print of image on screen.
pls give some idea.
thanks
If you are running on Microsoft Windows platform,
you can use the window's built-in screen capture
ability. I have not use the screen capture function
in a while. But I believe the print-screen button
on your keyboard will capture the entire screen.
and ctrl-printscreen (hold those two keys together)
will simply capture the window that has the focus.
Then, simply start a graphics-editing software and
select paste. The captured image will appear in the
program.
If you are running OS other than MS Windows,
you can try using a screen capture software. Most
of the graphics editing software such as paintshop
pro has the screen capture ability. Simply follow
the instruction for that particular software and you
will be fine. This method also works in Windows.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.