Open larsbrinkhoff opened 3 years ago
I had the idea that TVEDIT/TVDRAW (https://github.com/PDP-10/its/pull/431) used a format with a header before the picture data, but apparently not. I vaguely recall there was some format like that, but if so that was another program.
TVREAD/TVWRIT/FTV/PW use the "Stanford TV format".
; WORD 0: -1
; WORD 1: BITS PER PIXEL
; WORD 2: WORDS PER LINE
; WORD 3: NUMBER OF FIRST DATA ROW
; WORD 4: ... LAST ROW
; WORD 5: ... FIRST COLUMN
; WORD 6: ... LAST COLUMN
; WORD 7: <-WORD COUNT OF DATA PORTION (NOT HEADER)>,,200
; DATA PORTION STARTS IN WORD 200.
The
tvpic
tool converts from a 576-pixel wide PNG to a raw TV picture. Extend this to also: