Repeat image without going off canvas? Unix command line …
Posted: 2016-03-17T18:59:43-07:00
Hello,
I'm having some issues figuring out how to tile an image, from the center, without allowing it to go outside of the image dimensions.
Here's my starting image:
This works for tiling:
… which creates:
But what I would like to create is this:
Questions:
1. Is it possible to keep the tile from going outside of the canvas area?
2. How can I get the tile to start from the center? I've tried
… but that didn't seem to do anything.
Many thanks in advance for your help!
I'm having some issues figuring out how to tile an image, from the center, without allowing it to go outside of the image dimensions.
Here's my starting image:
This works for tiling:
Code: Select all
$ convert -size 1100x650 tile:square.png tile.jpg
But what I would like to create is this:
Questions:
1. Is it possible to keep the tile from going outside of the canvas area?
2. How can I get the tile to start from the center? I've tried
Code: Select all
$ convert -gravity center -size 1100x650 tile:square.png tile.jpg
Many thanks in advance for your help!