Home »
Public Forums »
archive »
8 bit binary images
8 bit binary images [message #9548] |
Mon, 21 July 1997 00:00  |
mjb1013
Messages: 1 Registered: July 1997
|
Junior Member |
|
|
I've just written a Fortran 77 program that was supposed to generate
a 8 bit binary data file for PV-Wave.
The file format consists of 800 rows of 1000-character-long strings, each
character in the string meaning to represent individual pixels in an image
as you move from left to right.
I used the CHAR command to write CHAR(0) for a 'white' pixel and
CHAR(255) for a 'black' pixel. Each row consists of 1000 of these
CHAR(0/255) characters concatenated together with no space in between them.
I used NAVIGATOR on a DEC to try and import the file I had written and
couldn't get a meaningful image. I suspect that my formatting is wrong.
I have read the manuals and can't seem to find an explicit description for
the file format required to create the data.
Does anyone have any suggestions, or an explicit description of the necessary
format required to encode the 8-bit format?
Thanks in advance
Mike Black
--
------------------------------------------------------------ ----------------
Michael Black Tel: +44 1223 337556 (work)
Microelectronics Research Centre +44 1223 447060 (home)
Cavendish Laboratory Fax: +44 1223 337706
------------------------------------------------------------ ----------------
|
|
|
Current Time: Wed Oct 08 18:53:04 PDT 2025
Total time taken to generate the page: 0.00401 seconds