tiling an image at fixed size with "extra" border
Posted: 2015-09-29T19:18:20-07:00
I want to divide an image into equally sized tiles, and using this command:
It works great. The "extra" slivers at the end are as expected.
However, I want to add 1px more around each tile. The result should be that each adjacent tile has the same overlapping pixels.
(For the edge pieces I would like to add 1px of transparency.)
Is there an easy way 'out of the box' to do this?
Code: Select all
convert -crop 500x500 obama.jpg o_%d.png
However, I want to add 1px more around each tile. The result should be that each adjacent tile has the same overlapping pixels.
(For the edge pieces I would like to add 1px of transparency.)
Is there an easy way 'out of the box' to do this?