- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Reading the documentation, I can see how to create a graphic image on the screen. I can see how to save that image as a bmp file. But I want to save images that have a much higher resolution than my screen. Is this possible?
I am presently using an old Microsoft DOS Fortran compiler, with the HALO graphics library. This library allowed creation of a "virtual raster interface" i.e. a virtual "screen" that existed only in memory. The resolution of that "screen" was limited only by memory. Using it I can create high-resolution graphics that look great when printed.
Another possibility would be to save the image as a vector type, say an enhanced metafile, as is possible in Matlab. But the documentation says nothing about this.
I hope there is some way to do this using Intl Fortran. This is a make-or-break issue for me. Can somebody please help?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I created a wrapper library, called Xeffort, which much simplifies the task. Here's a really simple sample which creates a "virtual screen" (Memory Device Context in Win32 parlance), draws to it, and saves it as .bmp format. It uses "Lite" (i.e. just a single .f90 source file) version of module XFTGDI.f90. For saving .wmf files, see the XeffortLite sample.
You can download the latest version of the full library and/or documentation here. (See the caveat.)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page