Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend support for raster images #88

Open
larsbrinkhoff opened this issue Sep 13, 2021 · 2 comments
Open

Extend support for raster images #88

larsbrinkhoff opened this issue Sep 13, 2021 · 2 comments

Comments

@larsbrinkhoff
Copy link
Owner

larsbrinkhoff commented Sep 13, 2021

The tvpic tool converts from a 576-pixel wide PNG to a raw TV picture. Extend this to also:

  • Convert from raw TV to PNG.
  • Identify files as TV pictures (best effort), for help in locating pictures in archives.
@larsbrinkhoff
Copy link
Owner Author

I had the idea that TVEDIT/TVDRAW (PDP-10/its#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.

@larsbrinkhoff
Copy link
Owner Author

larsbrinkhoff commented Nov 11, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant