Page 1 of 1

Is there something like -tile-rotate ?

Posted: 2011-04-05T03:10:40-07:00
by odvarko
Hello folks,

I'm trying to fill curved shape with tiled image. I'm able to scale and move that image, but I'd also like to rotate it by specified angle. If I rotate it before tiling, I'll get the ugly white space between tiles.

Is there a way to change the rotation of tiles?

Thanks in advance,

Jan Odvarko

Image

Re: Is there something like -tile-rotate ?

Posted: 2011-04-08T16:58:14-07:00
by fmw42
tile your patches first to a large image, then rotate, then apply the mask(s)

Re: Is there something like -tile-rotate ?

Posted: 2011-04-09T04:46:22-07:00
by anthony
Fred is right. Tile to a canvas that is large enough, then overlay OR mask what you need.

But you can use distort to generate a rotated tiled canvas of whatever size you like.
http://www.imagemagick.org/Usage/distorts/#affine_tile
(It can even tile animated tiles!)

The final canvas size can be set using viewport as shown in the 'distort' technique in..
http://www.imagemagick.org/Usage/canvas/#tile_memory

It does not need to be just rotated tiles either, but sheared, or even perspective tiles!
http://www.imagemagick.org/Usage/distorts/#horizon

and an unusual 'bilinear curved' tiling...
http://www.imagemagick.org/Usage/distor ... ear_tiling

Re: Is there something like -tile-rotate ?

Posted: 2011-04-19T02:14:59-07:00
by odvarko
Thank you very much, this helped me a lot!