Page 1 of 1

[SOLVED] create tile image on the fly

Posted: 2012-10-06T05:47:47-07:00
by Draoidh
I have created a tile image and, in a separate step, I create a tiled canvas:

Code: Select all

convert \( +size   xc:red xc:yellow xc:green  +append \) tile.png
convert -size 60x40 tile:tile.png   tiled.png
I would like to do this in a oner. How?

Re: create tile image on the fly

Posted: 2012-10-06T09:37:47-07:00
by Draoidh
sorted:

Code: Select all

convert \( +size  xc:red xc:yellow xc:green  +append -write mpr:tile +delete \) -size 60x40 tile:mpr:tile  a.png

Re: [SOLVED] create tile image on the fly

Posted: 2012-10-10T16:49:16-07:00
by anthony
There are three ways.. you found one...
Others are shown in, Tiling In-memory Images
http://www.imagemagick.org/Usage/canvas/#tile_memory

PS: using distort to tile images is extremely versatile, is it not only tiles in different ways (mirror tile for example) but with distortions too.

Re: [SOLVED] create tile image on the fly

Posted: 2012-10-19T04:07:32-07:00
by Draoidh
Just returned from a holiday and saw your link. Thanks for that, Anthony.