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

[REBOL] Re: image conversion

From: sags::apollo::lv at: 3-Mar-2006 23:48

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. Janeks On 2 Mar 2006 at 17:57, Tim Hendriks wrote:
>>Thanks Boleslav, >>I can see now something that looks like an image, but
it's distorted. It >works oke when I first save the data and then load it again. I think >something goes wrong with the line termination characters. Thanks so far. >>Tim >>Boleslav Brezovsky wrote: >>>Hi Tim, >>>>If your imageis string!, use following code: >>>> >>>>>>image: load to binary! image-in-string >>>>     >>>>>>>>if your image is binary!, it's even easier: >>>> >>>>>>image: load image-in-binary
>>>>&#160#160 >>>>>>>>>>>>Regards, >>>>rebolek >>>>On 3/2/06, Tim
Hendriks <> wrote: >>&#160;>>>>>Hello List, >>>>>>I have a problem... >>>>>>Is it possible to convert binary data to an image? >>>>>>I use an external program (via call) to produce a image. I can capture