Which Ruby on Rails image library should I use to create voice cards?

I am making flash cards in Ruby on Rails. What image libraries are recommended for Ruby on Rails?

I used ImageMagick and I had memory problems on the servers. I hear ImageScience , but I don’t know if I can scale images and draw words on images (a la lolcats .

+3
source share
3 answers

I wrote a rails plugin called FlexImage . The best example of creating a dynamic image that uses it is given here: http://thewinespies.com/dossier.jpg This is a dynamically created database of images that contains data on the main page: http://thewinespies.com/

Overlaying, scaling, cropping, borders, shadows, text and some other things are pretty simple. Of course, I'm a little biased, but I think it's rocks. It is mainly intended for use with the downloaded image as a base, but it can be configured to work by simply converting a virtual image with model data.

Check this.

, rMagick, ImageMagick. . .

+3

, ImageScience , . ImageScience .

, , ImMagick .

ImMagick - RMagick, ImageMagick , . , ImageMagick, , , ImageMagick , .

+1
0

Source: https://habr.com/ru/post/1703209/


All Articles