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

[REBOL] Image generation!

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