Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ read(3G) — AOS 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

image(3G)

READ(3G)  —  

NAME

VI_MRead, VI_FRead − read display data

SYNOPSIS

VI_MRead(x,y,wd,ht,data)
int x,y;/∗ top left corner of area ∗/
int wd,ht;/∗ dimensions of area ∗/
unsigned short ∗data;/∗ first byte of data ∗/

VI_FRead(x,y,wd,ht,filename)
int x,y;/∗ top left corner of area ∗/
int wd,ht;/∗ dimensions of area ∗/
char ∗filename;/∗ name of file to place image in ∗/

DESCRIPTION

These functions read display data into memory or into a file.  The area to be read must be completely on the screen.  The current setting of the clipping window is ignored. 

VI_MReadReads the specified area of the screen into the array passed as data.  Image bytes are in the same format as expected by MImage.  If the screen color is white, the bits are inverted on readback to make the data read back independent of screen color.  The area to be read must be completely on the screen. 

VI_FReadReads the specified area of the screen and places it in the specified file.  The file has the same format as expected by FImage.  If the window color is white, data bits are inverted to make the data independent of the screen color. 

NOTE

VI_Read applies only to the IBM Academic Information Systems experimental display. 

SEE ALSO

image(3G)

PRPQs 5799-WZQ/5799-PFF: IBM/4.3  —  30 Sep 1985

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026