Picture generation on-the-fly

Hi All,

is there any library for Ruby, that can generate gif/
jpeg/tiff/png or something other picture format in a
CGI? The picture must contain a password which the
user must type back in a cgi form, like on yahoo and
other sites…

Thanks,

···


bSanyI

Take a look at gRuby. It’s a Ruby hook for the GD library, so you need that. I
really think that it’ll do what you want:

http://gruby.sourceforge.jp/index.en.html

In particular, take a look at the file “example/font.rb” from the distribution.

···

On Wed, Jul 09, 2003 at 12:36:02AM +0900, Bedo Sandor wrote:

Hi All,

is there any library for Ruby, that can generate gif/
jpeg/tiff/png or something other picture format in a
CGI? The picture must contain a password which the
user must type back in a cgi form, like on yahoo and
other sites…

Thanks,

bSanyI


Daniel Carrera | OpenPGP fingerprint:
Graduate TA, Math Dept | 6643 8C8B 3522 66CB D16C D779 2FDD 7DAC 9AF7 7A88
UMD (301) 405-5137 | http://www.math.umd.edu/~dcarrera/pgp.html

There’s also RMagick http://home.nc.rr.com/rmagick/ which can do some
drawing as well (some nice examples here:
http://home.nc.rr.com/rmagick/portfolio3.html ) . It’s based on
ImageMagick.

Farrel

···


Data Network Architecture Research Lab mailto:flifson@cs.uct.ac.za
Dept. of Computer Science http://people.cs.uct.ac.za/~flifson
University of Cape Town +27-21-650-3127

you brought up an interesting topic: gRuby.

i follow the developtments of
ruby-gd
and
gRuby (which i think is built on top of ruby-gd)
for quite a long time now.

and i can’t see any recent activity (new libversions etc)…

there are so much cool things in newer GD-versions (antialiased line-drawing
for instance) that aren’t supported by the ruby-links to the lib because
they are based on older versions of GD

i wonder whether there are any active developers of these libs out there - i
myself am not that experienced that i could continue developing these :((

i’m just wondering…

patrick