开发者

Ruby/Rails - Forum signature images

开发者 https://www.devze.com 2023-02-04 08:45 出处:网络
I would like my Rails app to somehow generate forum signature images, like this one: I couldn\'t really find anything on Google. Have anyone开发者_开发知识库 seen any kind of implementation of this

I would like my Rails app to somehow generate forum signature images, like this one:

Ruby/Rails - Forum signature images

I couldn't really find anything on Google. Have anyone开发者_开发知识库 seen any kind of implementation of this in Ruby (I'm guessing with ImageMagick) ?

If not, how can I go about doing this?


Have you tried rMagick? Is an interface between ruby and ImageMagick... The URL is: http://rmagick.rubyforge.org/


For doing that sort of image creation, RMagick (the Ruby interface to ImageMagick) is probably going to be your best bet.

http://rmagick.rubyforge.org/

That said, think carefully about how you're going to implement this. You're probably NOT going to render these types of complex images on-the-fly, during the course of a web request, or your application is going to become very sluggish. Consider using a scheduled job that will render these images a few times a day at most.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号