Image/Pixel-Color Operations

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > Image/Pixel-Color Operations > ANA. - Imageworks > Manage IR's >

Image/Pixel-Color Operations

ANA.Copy - Copy IR to IR

Previous Top Next


MiniRobotLanguage (MRL)

 

ANA.Copy

Copy Image Register (IR) to another Image-Register (IR)

 

 

Intention

 

This command will copy the Content of an Image Register to another Image Register.

The destination Image Register can be empty or not.

In case there is another picture in the destination IR, this will be overwritten.

 

STW.ct|#32770|Basic-NAV Matrix 02

' We snap into the IR 2 here

ANA.Snap|2

' Copy IR 2 into IR 1

ANA.Copy|2|1

' Display IR 1

ANA.Show|1!

ENR.

 

 

Syntax

 

ANA.Copy|P1|P2

 

Parameter Explanation

 

P1 - Source Image-Register Number

P2 - Dest Image-Register Number

 

The Command will leave a 0/1 on the TOS. As always, a 0 means Error, while a 1 means "all fine".

 

Example

 

'***********************************

' ANA.Copy-Sample

'***********************************

STW.ct|Progman|Program Manager

ANA.Snap|0

ANA.Copy|0|1

ANA.BlockTo|1|1|4

ANA.show|1!

ENR.

 

' Below you can see a part of the result of the Operation.

' We used it here to have a content that can be copied.

 

ANA_Blockto

 

 

 

 

Remarks

 

-

 

 

 

Limitations:

 

-

 

 

See also: