home *** CD-ROM | disk | FTP | other *** search
- /*
- * $VER: Halve 2.0.0 (22.7.94)
- *
- * Arexx program for the ImageFX image processing system.
- * Written by Thomas Krehbiel
- *
- * Revised for ImageFX release 2.0.
- *
- * Halve the width and height of an animation.
- *
- */
-
- OPTIONS RESULTS
- SIGNAL ON BREAK_C
-
- RequestFile '"Input animation:"' /* Get source anim name */
- IF rc ~= 0 THEN EXIT
- input = result
-
- RequestFile '"Output animation:"' /* Get ouput anim name */
- IF rc ~= 0 THEN EXIT
- output = result
-
- FRAME = 1
-
- DO FOREVER
-
- Message 'Frame' frame
-
- Render Close
- LoadBuffer input frame
- IF rc ~= 0 THEN LEAVE
- Redraw Off
- Scale Percent 50 50
- Render Go
- SaveRenderedAs ANIM output APPEND KEEP
- Redraw On
-
- frame = frame + 1
-
- END
-
- BREAK_C:
-
- SaveRenderedAs ANIM output CLOSE
-
- EXIT
-