Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[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 ="/tmp/mplayer.fifo", os.O_RDWR) img ="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