Image generation!
[1/1] from: m::koopmans2::chello::nl at: 9-Sep-2001 12:55
I always wondered whether ot would be possible to make dynamic images with
REBOL in a CGI environment.
Provided that you have Command 2.0 or can get /View to work as CGI, this
does the trick:
print "Content-type: image/png"
print newline
a: make binary! 1000
save/png a to-image make face [ effect: [gradient 0.0.0 255.255.255 1x1]]
write-io system/ports/output a length? a
--Maarten