The basic advice to all who are are new to ImageMagick is:

Look at Anthony's example website at http://www.imagemagick.org/Usage
and you will find example code for almost everything. If you are looking
for something specific, like overlaying images, you can use Google as a
search tool, looking e.g. for

overlay site:www.imagemagick.org/Usage

Unfortunately, Anthony is in China for a few months, so there only few
people over here who can answer questions like yours by heart.

My approach to your problem would be to do it in two steps: In the first
step, you create an image which has the size of your input image (which
is a photograph, I guess), draw a rectangle on it and possibly invert
that image. In a second step, I would use Composite to overlay my
photograph with the intermediate image just created.

If you are new to IM, the general advice is: Do more complicated things
in several steps, storing intermediate results in IM's lossless MIFF
format and delete these intermediate files when you're done.

Almost anything can however be done in one long command line, if you
know IM by heart, but I would use the several-steps approach.

Wolfgang Hugemann

_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to