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

[REBOL] Re: image conversion

From: hallvard::ystad::gmail::com at: 5-Mar-2006 8:20

On 03/03/06, sags-apollo.lv <sags-apollo.lv> wrote:
> BTW how to output image from script to web browser? I tried simplest way > by > using content type header for image and then printing out binary string, > but > it did not help.
Here's what I use (and this works): data: read/binary %/some/image.jpg print "Content-Type: image/jpg^/" write-io system/ports/output data length? data HY Janeks