amuck-landowner

Linux tool to generate picture out of a string

wlanboy

Content Contributer
I am searching for a little linux tool that I am able to call via Ruby (shell) to generate pictures out of a string.

Hopefully I do not have to work with ImageMagick - it is using too much RAM.


Even if you limit it like:
-limit memory 64 -limit map 128

Any suggestions?
 

Virtovo

New Member
Verified Provider
Just to add a bit of meat to my response.  GD typically comes out on top in performance comparisons.  It also has a Ruby wrapper.
 
Last edited by a moderator:

wlanboy

Content Contributer
First of all: Thanks for the suggestions.

I am not talking about performace but about RAM usage.

Just to add a bit of meat to my response.  GD typically comes out on top in performance comparisons.  It also has a Ruby wrapper.
I found the Ruby wrapper - makes my life easy. Thank you!

GD is your best bet in a low memory environment.
Thanks for the advise.

What kind of pictures are you trying to make?
Someone is currently scraping my Twitter archive.

I have identified the ips.

The RabbitMQ server is currently distributing the generation of the images.

Once finished my frontend will replace the content of the entry with pictures if the user does have one of the bad ips.
 

Virtovo

New Member
Verified Provider
I found the Ruby wrapper - makes my life easy. Thank you!

Thanks for the advise.

Someone is currently scraping my Twitter archive.

I have identified the ips.

The RabbitMQ server is currently distributing the generation of the images.

Once finished my frontend will replace the content of the entry with pictures if the user does have one of the bad ips.
And this is exactly the kind of coding I like :)
 
Top
amuck-landowner