IMAGEPRINT Example


Example:

 

*

 

 

. IMAGEPRINT Example Program

.

 

 

PIC1

INIT

"GIRL2.PCX"

*

 

 

.This prints the largest image possible without

. causing distortion to occur using *SB & *PF defaults.

.

 

 

  

IMAGEPRINT

PIC1

*

 

 

.This prints a window image with

.*SS for stretch to fit mapping.

.

 

 

  

IMAGEPRINT

*SETIWALL=1:2:7:8,*SS,PIC1

*

 

 

.This prints a window image with

.*SO, and starting 100 pixels from

.the top of the image and 100 pixels

.from the left of the image.

.

 

 

TOP

FORM

"1.6"

BOTTOM

FORM

"2.4"

LEFT

FORM

"2.7"

RIGHT

FORM

"5.3"

.

 

 

  

IMAGEPRINT

*SETIWALL=TOP:BOTTOM:LEFT:RIGHT,

  

  

*IMAGE=100:100,*SO,PIC1

 

This example illustrates various methods of printing images using the IMAGEPRINT instruction.

 



PL/B Language Reference IMAGE Example IMAGESCAN Example