[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Picture generation on-the-fly

Bedo Sandor

7/8/2003 3:36:00 PM



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

2 Answers

Daniel Carrera

7/8/2003 3:50:00 PM

0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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/ind...

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/~dcarrer...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (SunOS)

iD8DBQE/CugunxE8DWHf+OcRArlvAKCd8ZkAFZNL/mJto5yoHgktlL58/QCghTaW
mgbjpqPHZQq8Nss8rIIuP/c=
=YIr/
-----END PGP SIGNATURE-----

Farrel Lifson

7/9/2003 1:45:00 PM

0

There''s also RMagick http://home.nc.rr.co... which can do some
drawing as well (some nice examples here:
http://home.nc.rr.co...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.z...
University of Cape Town +27-21-650-3127