"John Smith" on  wrote...
| Use of the composite feature confuses me.  I would like to do some
| overlays, but just to get a feel for the syntax and options.  So ? is how
| would I possibly do this:
|
Basic overlay usage is in IM Examples, Layering Multiple images
  http://imagemagick.org/Usage/layers/#composite

And an explaination o fthe various Alpha Composition methods and other
features is in
  http://imagemagick.org/Usage/compose/

Note tha composite can be done in quite a number of different ways.

   composite  source  destination  -compose method   output

or

   convert  destination  source  -compose method -composite  output

NOTE the order of input images.


You also have    -flatten   -mosaic   and    -layers merge
convert operators to compose multiple images onto a background canvas
of the current backgroudn color
See   http://imagemagick.org/Usage/layers/#flatten

Also you can merge a two sequences of images using   -layers composite
see  http://imagemagick.org/Usage/anim_mods/#composite


| Draw around the inside edge of a given sample image,
| 
| 1) i should be able to adjust the transparency value
| 2) for this example, some generic color, like #FFFFFF or #000000
| 
What do you mean by 'sample image'.
I am guessing you have some shape as a mask.

Drawing around the edge of a shape in a raster (array of pixels) image
is actually quite difficult.    The logical method is using   -edge
See   http://imagemagick.org/Usage/transforms/#edge

For a smoother clearer method (non-IM) you can look at the new example
   Edging Alturnative using a Raster to Vector Convertor
     http://imagemagick.org/Usage/transforms/#edge_vector

This will appear in a few hours.


| If I can adjust the thickness that would be excellent! :)
| 
The -edge can be variable thickness, though it only expands into the
'white' or lighter area of the shaped mask image.

| so, in principle the idea is:
| 
| convert sample_image.png {over border around --inside-- edge of input
| image @ some thickness @ some color @ some transparency %]
| output_image.png
| 
| thank you very very much for helping me understand this powerful program
| and your time to ramp up my knowledge of some features.  Have a very good
| day. :-)
| 
  Anthony Thyssen ( System Programmer )    <[EMAIL PROTECTED]>
 -----------------------------------------------------------------------------
  He decided the physicists were wrong.  The universe was held together
  not by gravity, but by ifs.             -- Alan Dean Foster, "Quozl"
 -----------------------------------------------------------------------------
     Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to