Logic-Operations

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > Image/Pixel-Color Operations > ANA. - Imageworks >

Logic-Operations

Logic Operations will combine the IR's using Logic like AND/OR etc.

These will work on Bit-Level.

 

Here is a Sample:

 

1. Making an Outline using Logic-Operations:

 

P3       clip0180     clip0181

 

 

VAF.$$PIA=?exeloc\Pics\P3.jpg

NEF.$$PIA

  MBX.No such file.

  ENR.

EIF.

ANA.Load|0|$$PIA

ANA.Copy|0|1

ANA.bw|0|500

ANA.bw|1|100

ANA.Invert|0

ANA.Invert|1

GSB.Save|0

GSB.Save|1

ANA.Logic|2|0|1|A XOR NOT B

'ANA.Invert|2

GSB.Save|2

ENR.

 

'===========================================================

:Save

$$NUM=§§_01

RND.0|999999|$$RND

FMT.$$RND|000000

$$PAT=?exeloc\Pics\Save_$$RND.png

IEF.$$PAT

  GTO.Save

EIF.

ANA.Save|$$NUM|$$PAT 

ANA.Show|$$NUM!

RET.

'===========================================================