From: Martin Pirker Date: 2004-11-17T00:33:17+09:00 Subject: image creation Hi... Im pondering how to best create an image from a Ruby script. 1) a x*y size String comes to mind easy manipulation 2) dump it out to a .pgm file 3) call pgm2jpg, pgm2png or something like that 4) serve link to file For small images a "keep in memory" and call libjpg directly approach comes to mind, for large images maybe via mmap? Anyone ever did such things, pointer to example code? thanks, Martin