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?".
I'm having difficulty working out how to offset images which I have layered on top of one another by a specified amount. My code at present is as follows:
Also, any other "optimisations" / simplifications people can provide to the above which either improve or do not deviate from the current result would be much appreciated.
Not quite. I'm looking to offset the images all a "small" amount in different directions from the centre point of the base image. It should look like the images are all in a single pile, but not all sharing the same centre point. I'll have a look through that page and see if I can understand how it is working and translate it to my code.
The 'layer offset' or virtual canvas offset, or simply virtual offset, can be adjusted using the -repage option with a '!' flag. See Repage Image Meta-data http://www.imagemagick.org/Usage/basics/#page
You may need to clone images into parenthesis before doing this is you want different offsets.