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

[REBOL] Re: Outputting Image from CGI...

From: g:santilli:tiscalinet:it at: 6-Aug-2001 19:31

Hello Jean! On 06-Ago-01, you wrote: HJ> to-string seems to convert any occurence of (hex) 0D 0D to HJ> 0D 0A ! ,ie 2 linefeed to linefeed + carriage return The culprit is not TO-STRING, but the fact that system/ports/output is not opened as binary. Try: port: open/binary console:// insert port read/binart %image.png close port or use SET-MODES on system/ports/output. Regards, Gabriele. -- Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer Amiga Group Italia sez. L'Aquila --