[magick-users] Merging images part two...
Anthony Thyssen
anthony at griffith.edu.au
Wed Aug 29 17:06:03 PDT 2007
"Joey Mukherjee" on wrote...
| Thanks Ron for your advice! I am taking it, but first I had a simple
| (I hope!) PerlMagick question.
|
| I have an AVI file which I am reading in PERL. I wish to do a
| composite of the first x many frames and do that for the rest of the
| AVI file until I've gone through the whole thing.
|
| My questions is how do I take a slice of the array images such that I
| have n many frames to put together?
|
| Right now, I am using Append (which I think is wrong), but I can not
| find a way to make a multi-image array that PerlMagick likes unless it
| Reads it all from files.
|
| Thanks!
|
I am not sure of the interface that should have been setup for
PerlMagick but the command line, and C MagickCore API
has access to the new "-layers Composite" operator.
This can compose two lists on images with each other, or a single image
over all the images in the other list. It can use any -compose setting
as well as take into account -gravity effects -geometry offsets
and then add to that the normal -page or 'virtual canvas' offsets of
subframes.
See...
http://www.imagemagick.org/Usage/anim_mods/#composite
for an example..
Only the very latest IM will have these features, and as I mentioned I
am not sure of the API interface needed for Perl or other languages.
Anthony Thyssen ( System Programmer ) <A.Thyssen at griffith.edu.au>
-----------------------------------------------------------------------------
Recursive (Adj.) :- See "Recursive"
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
More information about the Magick-users
mailing list