Creating text effects such as curved, curved, wedged into a ruby ​​on rails or php

I know that imagemagick has a convert -swirl effect, but I can create other effects for the text, such as curved, curved, wedged, clamped, etc., like the word wordart in a word.

I am open to other packages that can help me do this. php or ruby ​​..

+4
source share
3 answers

Here are some examples: http://www.fmwconcepts.com/imagemagick/texteffect/index.php
If you're interested, you can run this shell script through php exec() or any other language that provides you with this ability.

+1
source

Check out RMagick , which is the Ruby interface for the ImageMagick library.

There are also interfaces for many other languages, including PHP. Look here for a review.

0
source

As Lars suggested, RMagick is a good choice for this at RoR. If you are looking for PHP, I'm not sure that it can do some of the things you want, but GD2 (which is usually natively included in PHP if you installed PHP with a package manager) is a good tool. There is also a PHP extension for ImageMagick.

0
source

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


All Articles