[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

I cant get it to work, please help

Pingu Penguin

3/20/2007 6:12:00 PM

What am i doing wrong? the text being rendered is very very small.
I have posted an example on www.reapfuels.co.uk,

any ideas?

Thank you

--
Posted via http://www.ruby-....

7 Answers

matthew.moss.coder

3/20/2007 10:30:00 PM

0

On 3/20/07, Pingu Penguin <penguin.pingu@googlemail.com> wrote:
> What am i doing wrong? the text being rendered is very very small.
> I have posted an example on www.reapfuels.co.uk,

Maybe explaining what you are trying to do would help?

Pingu Penguin

3/21/2007 7:39:00 AM

0

Hi Mathew, I am using the turing package to try and create captcha
images, i use the code:

ti = Turing::Image.new(:width => 280, :height => 115)
ti.generate(File.join(Dir.getwd, 'a.jpg'), "randomword")


The image is generated fine, but the text is unreadably small.

--
Posted via http://www.ruby-....

Phillip Gawlowski

3/21/2007 10:38:00 AM

0

Pingu Penguin wrote:
> Hi Mathew, I am using the turing package to try and create captcha
> images, i use the code:
>
> ti = Turing::Image.new(:width => 280, :height => 115)
> ti.generate(File.join(Dir.getwd, 'a.jpg'), "randomword")
>
>
> The image is generated fine, but the text is unreadably small.
>

RTFM:
http://turing.rubyforge.org/classes/Turing/...

Pingu Penguin

3/21/2007 10:45:00 AM

0

Thats exactly what i followed.

--
Posted via http://www.ruby-....

Pingu Penguin

3/21/2007 10:59:00 AM

0

Thanks Daniel, i have looked at that method, but its private, i dont
think i am supposed to use it.

--
Posted via http://www.ruby-....

Bertram Scharpf

3/21/2007 1:40:00 PM

0

Hi,

Am Mittwoch, 21. Mär 2007, 19:59:21 +0900 schrieb Pingu Penguin:
> Thanks Daniel, i have looked at that method, but its private, i dont
> think i am supposed to use it.

See section "plugins".

Bertram


--
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-...

David Morton

3/21/2007 5:46:00 PM

0

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

Pingu Penguin wrote:
> Hi Mathew, I am using the turing package to try and create captcha
> images, i use the code:
>
> ti = Turing::Image.new(:width => 280, :height => 115)
> ti.generate(File.join(Dir.getwd, 'a.jpg'), "randomword")
>
>
> The image is generated fine, but the text is unreadably small.
>

Hence, a better subject line would be: "Captcha generated by Turing package is
unreadably small" which might catch the attention of people who can help.

See also: http://www.catb.org/~esr/faqs/smart-ques...


- --
David Morton
Maia Mailguard - http://www.maiamai...
Morton Software Design and Consulting - http://www...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail....

iD8DBQFGAWkUUy30ODPkzl0RAlmWAJ9cUJFwMr3MVyBG7EmeGb1cco3KiwCgzZtE
ookYUHc+fa5oY7e/DVsiXFU=
=Cich
-----END PGP SIGNATURE-----