IM R/T Print Problem
12-Jun-94 15:09:50
Sb: #84028-IM R/T Print Problem
Fm: Charles Blaquiere 76046,1756
To: Mark Peacock 70334,1246
Mark,
here's my best idea to manipulate a blend buffer in order to perform a fade
from one image to another:
To prepare for ths procedure, create a tiny (10 x 10) buffer, set to all-white.
You can save it to disk for future reuse. Set blend controls to use no blend
graphs, just a blend buffer.
In ARexx, load Source and Destination images. Store their buffer numbers into
SourceBufNum and DestinationBufNum.
Load the white buffer from disk. Store its buffer number as WhiteBufNum. This
will be your backup blend buffer, the one you return to every time you've
processed a frame.
Make a duplicate ('entire', 'clip', set result to BlendBufNum). Make sure
BlendBufNum is selected as primary.
Now, here's the key: use the 'bright' operator to set the blend level to the
desired value; for example, 'entire', 'bright -75'.
Select SourceBufNum as primary, DeatinationBufNum as secondary, and BlendBufNum
as blend control. Perform an 'entire', 'merge'.
Save the resulting primary buffer to disk. Delete the BlendBufNum.
————————
You can loop the last few steps, changing the argument to 'bright' from 0 to
-100; the resulting image sequence will fade from the Source to the Destination
images. Heck, you can probably make the script work in the context of the
multi-image processor., using things like 'tween 0 -100' and 'finish'.
Blaq!