"Joey Mukherjee" on wrote...
| On 8/29/07, Ron Savage <[EMAIL PROTECTED]> wrote:
| > Hi Joey
| >
| > > 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?
|
| > my($image) = Image::Magick -> new();
| > my($status) = $image -> Read('1.png', '2.png', '3.png'); # Or AVI etc.
|
| A quick followup to this: When doing an $image->Read ("video.avi"),
| is there a way to read only a certain number of frames so I don't have
| to read the entire thing into memory?
|
Only by filtering th eimage through a program that understand video
formats more deeply than IM does.
IM reads the whole image as it does not know how to only read
part of a complex video format file.
Have a look at mencode
Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]>
-----------------------------------------------------------------------------
Friends don't let friends do DOS; Linux to the rescue!
-----------------------------------------------------------------------------
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