home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD1.iso / GFX / Converter / IMAFX26.lha / imagefx2 / rexx / autofx / FieldRender.ifx.post < prev    next >
Encoding:
Text File  |  1996-04-10  |  522 b   |  24 lines

  1. /*
  2.  * $VER: FieldRender.ifx 2.5 (30.03.96)
  3.  * Copyright © 1992-1996 Nova Design, Inc.
  4.  * Written by Thomas Krehbiel
  5.  *
  6.  * Convert a series of frames into "field rendered" frames.
  7.  *
  8.  * Inputs:
  9.  *    Word(Arg(1),1) = Sequence number
  10.  *    Word(Arg(1),2) = Total number of frames (N)
  11.  *
  12.  * Returns:
  13.  *    0 if successful, non-zero on failure
  14.  *
  15.  */
  16.  
  17. /* cleanup misc. fields laying around: */
  18.  
  19. SelectBuffer '"PreviousOddField"'
  20. IF rc = 0 THEN KillBuffer Force
  21.  
  22. SelectBuffer '"FirstEvenField"'
  23. IF rc = 0 THEN KillBuffer Force
  24.