home *** CD-ROM | disk | FTP | other *** search
- /*
- Control Tower Arexx Script
- Written By J.L. White
- (C)1995 Merlin's Software
-
- Lines=8
- 01=Dynamic Range
- 02=
- 03=Dynamic range is an expression of the
- 04=image's informational bandwidth; the
- 05=volume of its graphical content. You
- 06=usually want to maintain the broadest
- 07=dynamic range possible when digitizing
- 08=an image or clip.
-
- */
-
- options results
-
- arg FrameNum TotalNum
- address "IMAGEFX.1"
-
- if FrameNum = 0 then do
- RequestSlider '"Select Lower Color Limit!"' 0 255 100
- Answer = Result
- RequestSlider '"Select Upper Color Limit!"' 0 255 100
- Answer2 = Result
- call open TempFile,"Ram:CT-IFDR",W
- call writeln TempFile,Answer
- call writeln TempFile,Answer2
- call close TempFile
- end
- else do
- call open TempFile,"Ram:CT-IFDR",R
- line = readln(TempFile)
- parse var line Answer
- line = readln(TempFile)
- parse var line Answer2
- call close TempFile
- end
-
- DynamicRange Answer Answer
-
- exit
-