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, I have a tall image and I need to convert into a small copyng the top and the base and putting an effect of break image, preserving top and bottom of image.
(Sorry for my English... but an image is like a thousand of words)
Thanks in advance
1) crop the top and bottom parts (-crop)
2) make a mask with the jagged outline on the top and another for the bottom (-draw)
3) composite each mask with the image with a transparent background (-compose ... -composite)
4) add shadows and possibly transparent borders (-shadow, -splice)
5) append the images (-append)
variations of order and other commands may produce the same kind of results.
It's an interesting example of combining a number of processes towards a single effect. Here's a Windows script that follows fmw42's steps, though not exactly. It creates sample.png, but this might be a page scan or whatever, then applies the processes, resulting in cutout_shad.png. All the convert commands could be combined into one, without all the intermediate files.