IMAGESCAN Example


Example:

 

*

 

 

.IMAGESCAN Example Program

.

 

 

PIC1

INIT

"GIRL2.PCX"

*

 

 

.This scans the entire page into the specified file.

.

 

 

  

IMAGESCAN

PIC1

*

 

 

.This scans only the specified part of the page.

.

 

 

  

IMAGESCAN

*SETIWALL=1:3:7:8,PIC1

*

 

 

.This scans only the specified part of

.the page as a negative image.

.

 

 

TOP

FORM

"1.5"

BOTTOM

FORM

"2.5"

LFFT

FORM

"7"

RIGHT

FORM

"8"

.

 

 

  

IMAGESCAN

*SETIWALL=TOP:BOTTOM:LEFT:RIGHT:

  

  

*REVON,PIC1

 

This example illustrates various methods of scanning images using the IMAGESCAN instruction.

 



PL/B Language Reference IMAGEPRINT Example IMPLODE Examples