--------------enig33CC85BB2D0C7FE3ACE33744 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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.... > %> > ></img> > http://www.ietf.org/rfc/rfc2397.txt Warning. Base64, madness, and death lie that way. Well, not really, but I don't think it works in IE. David Vallner --------------enig33CC85BB2D0C7FE3ACE33744 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) iD8DBQFFIXMAy6MhrS8astoRAv3UAJwP56S1XU72RC36jgu1CPHO/zXxuQCeJv91 Udi2hURlqRYtG8A2g+n6kpw³´i -----END PGP SIGNATURE----- --------------enig33CC85BB2D0C7FE3ACE33744--