[REBOL] Need help with Python X REBOL Code
From: carloslorenz::rebolbrasil::nobrenet::com at: 11-Aug-2004 8:13
Hello Python users
I need to write some piece of code in REBOL
that communicates to MPlayer via FIFO (pipe) the same
way as in the python code bellow that uses
PIL (Python Image Library):
# python code
import Image, os
fifo = os.open("/tmp/mplayer.fifo", os.O_RDWR)
img = Image.open("file.png")
os.write("RGBA32 %d %d 0 0 255 0\n" % (img.size[0], img.size[1]))
os.write(img.convert("RGBA").tostring())
What are the same functions in REBOL that could give me
the possibilities of get the width of an image, its height and
most how could I send to the pipe the RAW RGB data?
Thanks
Carlos