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
Is there something like -tile-rotate ?
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Is there something like -tile-rotate ?
tile your patches first to a large image, then rotate, then apply the mask(s)
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Is there something like -tile-rotate ?
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
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
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: Is there something like -tile-rotate ?
Thank you very much, this helped me a lot!