For Programmers: Free Programming Magazines  


Home > Archive > Fortran > July 2004 > visualize images









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author visualize images
rand

2004-07-28, 9:06 pm

is it possible to visualize a bmp/jpeg from fortran? with some libraries or
a external tool...but free!


Gary L. Scott

2004-07-28, 9:06 pm

rand wrote:
>
> is it possible to visualize a bmp/jpeg from fortran? with some libraries or
> a external tool...but free!


What operating system? Normally just call the OS API directly. It's
free!
--

Gary Scott
mailto:garyscott@ev1.net

Fortran Library: http://www.fortranlib.com

Support the Original G95 Project: http://www.g95.org
-OR-
Support the GNU GFortran Project: http://gcc.gnu.org/fortran/index.html

Why are there two? God only knows.

Democracy is two wolves and a sheep, voting on what to eat for dinner...
Liberty is a well armed sheep contesting the vote. - Thomas Jefferson
Gary L. Scott

2004-07-28, 9:06 pm

"Gary L. Scott" wrote:
>
> rand wrote:
>
> What operating system? Normally just call the OS API directly. It's
> free!


If you have an application like photoshop or another viewer application,
you may also be able to use a "call system(...)" (or in the unfortunate
case that it's a function "istat = system(...)"). Replace "..." with
the command string needed to initiate the viewer program. That's
probably by far the easiest method since it is highly likely you already
have a viewer on your system. If it needs to be portable though, you
might need another solution.

> --
>
> Gary Scott
> mailto:garyscott@ev1.net
>
> Fortran Library: http://www.fortranlib.com
>
> Support the Original G95 Project: http://www.g95.org
> -OR-
> Support the GNU GFortran Project: http://gcc.gnu.org/fortran/index.html
>
> Why are there two? God only knows.
>
> Democracy is two wolves and a sheep, voting on what to eat for dinner...
> Liberty is a well armed sheep contesting the vote. - Thomas Jefferson



--

Gary Scott
mailto:garyscott@ev1.net

Fortran Library: http://www.fortranlib.com

Support the Original G95 Project: http://www.g95.org
-OR-
Support the GNU GFortran Project: http://gcc.gnu.org/fortran/index.html

Why are there two? God only knows.

Democracy is two wolves and a sheep, voting on what to eat for dinner...
Liberty is a well armed sheep contesting the vote. - Thomas Jefferson
ArmINVALID@bbcc.uk

2004-07-28, 9:06 pm

Yes, I've done this using salford fortran.
You can read bmp file into 3 RGB arrays,
manipulate the pixels, dimensions or palettes in fortran
with the click of the mouse and visualize result
in real time. Then you can save pic in bmp/pcx/jpeg.
It is really easy, the whole program is just several lines
of fortran text.

rand wrote:
> is it possible to visualize a bmp/jpeg from fortran? with some libraries or
> a external tool...but free!
>
>


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com