rebol & gifanims ... cool ....
[1/1] from: petr::krenzelok::trz::cz at: 20-Oct-2000 14:39
Hi,
today I noticed rebol can load gifanims and create automatically block
of images for us, and it's nice. Try following script and you will see
... :-)
REBOL [Title: "GIF anims in REBOL ..."]
images: load
http://www.realdreams.cz/amiga/images/banner_bubbleheroes.gif
view layout [
image images/1/size with [
rate: 1
feel/engage: func [f a e][
images: next images
if tail? images [images: head
images]
f/image: first images
show f
]
]
]
... but - what would be even cooler:
view layout [anim images] or view layout [anim http://url-to-image]
The problem is, once you look at "print mold
system/view/vid/vid-styles/anim", you will see there is following code
on two places:
forall frames [change frames load-image first frames]
I commented out the code as our frames block already contains block of
images, but it doesn't work for me ...
Anyway - enjoy,
Cheers,
-pekr-