Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Hi all. I'm new to using ImageMagick, looking for some syntax advice.
I have an image that I'd like to tile into a larger image but I'd also like the columns to be shifted 50% of the image height. It's probably easier to show an example of what I'm trying to do:
Start with this:
Finish with this:
Please could someone tell me the ImageMagick command I should be using to do this?
You need to roll the image by half and append it to the original, then tile it out. The following works, but there may be a more efficient way -- see http://www.imagemagick.org/Usage/canvas/#tile
The following method uses in-memory image (mpr:) to store the results of the append so that a separate image does not have to be saved.
It shows how you can layer the images together. You can ignore the issues of size, and the later effects.
Another user of ImageMagick also looked at cutting out actual Hexagons, and Triangles, and then piecing them together again. The major problem he had however involved generating a good mask (with angled joins) that would then fit together properly. Mask creation in that case can become very tricky when you want to don't want to generate overlaps, or gaps, though some 'cheats' can make this easier.