I'd like to slit image into hexagon tiles. Means, crop original image to multiple hexagons.
I've found out how to split image to tiles:
convert -crop 8x8@ +repage +adjoin to_test.jpg asset_4x3@_%d.jpg
Which brings me almost quadratic images of my original one.
And I've tried using this script which can put hexagon grid on my image. With this parameters:
-k hexagon -b 150 -t 1
But I can't figure out how to unite this scripts.
The first solution doesn't fully satisfies me, because I can resize each of the output images to hexagon, but I'll lose small parts of each image on convert quadratic to hexagon.
The second solution just place hexagon grid on original image, but doesn't crop every tile to other file.
So, my question is, how to split (crop) image to hexagon tiles?
@bonzo
below. You can then create the mask image and shift it over the background image to create tiles making the background of the tiles transparent. If you want more information, contact me offline. My email address is on my scripts web page at fmwconcepts.com/imagemagick/index.html – fmw42