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

[REBOL] Re: Problems rendering an image + jpeg images not working

From: gscottjones:mchsi at: 29-Aug-2002 13:36

From: "Tim Johnson"
> I was not able to find any examples like this in the documentation > mostly using the Rebol/Core User's Guide Version 2.3 > > Can anyone point me to rebol specific documentation on this? > for instance, I didn't know about set-modes until Gab and Scott > pointed them out. help set-modes is quite terse.
Hi, Tim, I stole it from Gabriele!. ;-) I frankly don't remember where I first saw this kind of stuff, but it might have been an example in the rebol library. The option, by the way, is: t: read/binary %//rebol/view/nyc.jpg ... dat: copy "" foreach u t [append dat to-char u] set-modes system/ports/output [binary: true] write-io system/ports/output dat length? dat ... Who knows, maybe this version will work better. You can find out some more about get-modes and set-modes at: http://www.rebol.com/docs/core25.html I read several documents about the experiemental multipart mime, and played with it for about an hour over lunch. I could not get even a simple multipart text/html example to run properly on my Apache/REBOL/IE6 set-up on Win98. I am unsure why. I am out of time. Best of luck figuring this one out! --Scott Jones