From: Jan Svitok Date: 2006-10-02T20:18:35+09:00 Subject: Re: Embed Images in eruby On 10/2/06, Horacio Sanson wrote: > > I want to read an image from disk, modify it with rmagick (scale) and display > it in an HTML IMG tag but without saving the modified image to disk. > > Is there a way to send the Image object directly to the IMG tag?? > > Something like: > > <% > require "RMagick" > include Magick > > img = Image.read("image.jpg").first > > ## Do stuff to img.... like scale it down.... > %> > > See http://redhanded.hobix.com/inspect/sparklinesForMinimalists.html