Monday, January 5, 2009

Arc Distortion Effect

A interesting new effect is available in the IM editor effect library. Arc distortion lets you bend text or any image into an arc.


[image]
Command: -rotate 0 -virtual-pixel Background - background \#ffffff -distort Arc '120 0'

The background color in the command is the color IM uses to fill the empty space created when the effect is applied. 120 is the number of degrees in the ARC. Set it to 360 and text is bent into a full circle.



[image]
Command: -rotate 0 -virtual-pixel Transparent -distort Arc '120 0'

Starts with a transparent image. In this case, the empty space is filled with transparent pixels


[image]
Command:
-rotate 180 -virtual-pixel Transparent -distort Arc '120 180'

To reverse the arc apply some rotation applied:

No comments:

Post a Comment