- #1
Joe1
- 11
- 0
Hello,
I just made a program that puts numbers into a two dimensional array, and then saves them in a text file that looks something like this:
4 4 4 4 4 4 5 5 5 5 5 5 5 5 6 6 6 6 6 6 6 6
4 4 4 4 4 5 5 5 5 5 5 5 5 6 6 6 6 6 6 6 6 7
4 4 4 4 5 5 5 5 5 5 5 5 6 6 6 6 6 6 6 6 7 7
4 4 4 5 5 5 5 5 5 5 5 6 6 6 6 6 6 6 6 7 7 7
(except it is 800 by 800)
is there any way I can make the text file into a picture file and have the numbers represent colors of individual pixels? Otherwise is there a way to input data into some fortran function that will give me an image? Any type of image file is good.
Thanks,
Joe
I just made a program that puts numbers into a two dimensional array, and then saves them in a text file that looks something like this:
4 4 4 4 4 4 5 5 5 5 5 5 5 5 6 6 6 6 6 6 6 6
4 4 4 4 4 5 5 5 5 5 5 5 5 6 6 6 6 6 6 6 6 7
4 4 4 4 5 5 5 5 5 5 5 5 6 6 6 6 6 6 6 6 7 7
4 4 4 5 5 5 5 5 5 5 5 6 6 6 6 6 6 6 6 7 7 7
(except it is 800 by 800)
is there any way I can make the text file into a picture file and have the numbers represent colors of individual pixels? Otherwise is there a way to input data into some fortran function that will give me an image? Any type of image file is good.
Thanks,
Joe