[REBOL] Re: Outputting Image from CGI...
From: jean:holzammer:faedv-n:bayern at: 6-Aug-2001 13:43
> Try : print to-string read/binary %cnt.png
This results in an invalid image file.
I compared the original and the downloaded image file using a hex
editor
to-string seems to convert any occurence of (hex) 0D 0D to 0D 0A !
,ie 2 linefeed to linefeed + carriage return
I also tried this here:
foreach x read/binary %cnt.png [prin to-char x]
similar result,; maybe prin itself does a newline character
conversion itself ?
???
Jean