zane@ddsw1.MCS.COM (Sameer Parekh) (02/24/91)
What is the format for SHR Screen Images? (Uncompressed.) I'd like to write a UNIX program (which would be quicker than using my //gs.) to save an image to a file, and it seems like the screen images would be the easiest because they are uncompressed. Thank you. -- zane@ddsw1.MCS.COM
taob@pnet91.cts.com (Brian Tao) (02/26/91)
From zane@ddsw1.MCS.COM (Sameer Parekh): > What is the format for SHR Screen Images? (Uncompressed.) > I'd like to write a UNIX program (which would be quicker than using > my //gs.) to save an image to a file, and it seems like the screen > images would be the easiest because they are uncompressed. Uncompressed screen files are exactly 32K long (at least with the current GS video modes) and they don't have any special headers or format. It's a straight binary dump starting at memory location $E12000 to $E19FFF (again, with the way GS memory is set up right now). Bitmap (two pixels per byte in 320 mode) + scan line control bytes (SCB's) + color lookup tables (CLUT's). Brian T. Tao *B-) | t569taob@bluffs.scar.utoronto.ca | "Though this be U of Metro Toronto | - or - | madness, yet there Scarberia, ON | taob@pnet91.cts.com | is method in 't."