clones/images add to single image by specifying x,y position

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?".
Post Reply
Ravinderjit S.Sidhu

clones/images add to single image by specifying x,y position

Post by Ravinderjit S.Sidhu »

Code: Select all

convert -size 30x30 xc:black -fill white  -draw "circle 15,15 5,15" ^
          ( +clone -shade 110x90 -normalize -negate +matte ) ^
          ( +clone -clone -2 -compose Plus -composite ) ^
          ( -clone 0 -shade 110x50 -normalize +matte ) ^
          ( +clone -gamma 1,0,0 ) ^
          ( -clone 2  +clone  -compose Multiply -composite ) ^
          -append  seq_process_fx.gif
the above example is taken from http://www.imagemagick.org/Usage/basics/

In the above example many images/clones (6) created in memory and appended all that to one image.

My question is : Is it possible to add those images/clones (6) each at the specific x,y position of resultant image while adding to each one. (I want all to be done in this single command line statement).
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: clones/images add to single image by specifying x,y position

Post by anthony »

Sorry, I don't follow what you mean by specific x,y? Your wanting a montage of the intermediate steps, or something else.

normally you would do the next example that either deletes the intermendite images, or just replace them with a more modified version. the above was a demonstration of one method of viewing the intermediate steps in a complex compound command.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply