home *** CD-ROM | disk | FTP | other *** search
- /*
- Control Tower Arexx Script
- Written By J.L. White
- (C)1995 Merlin's Software
- Lines=5
- 01=Posterize Image
- 02=
- 03=This script loads each image of the File List Window
- 04=into ImageFX and reduces the colors, flattening them
- 05=for a poster-like effect.
-
-
- */
-
- options results
-
- arg FrameNum TotalFiles
- address "IMAGEFX.1"
-
-
- if FrameNum = 0 then do
- FrameNum = 1
- RequestSlider '"Enter Posterization Levels!"' 2 16 3
- Answer = Result
- call open TempFile,"RAM:CT-IFPZ",W
- call writeln TempFile,Answer
- call close TempFile
- end
- else do
- call open TempFile,"RAM:CT-IFPZ",R
- line = readln(TempFile)
- parse var line Answer
- call close TempFile
- end
-
- Posterize Answer
-
- exit
-