[magick-users] Re: Thumbnails from first image of an avi

Jim Kleckner jek-gmane at kleckner.net
Sun Aug 26 10:00:57 PDT 2007


Jim Kleckner wrote:
> Anthony Thyssen wrote:
>> Jim Kleckner on  wrote...
> 
>> | Is there a simple way to just extract that first frame?
> 
>> the other is only read the first frame by adding '[0]' into the AVI
>> filename
>>
>>      convert   movie.avi'[0]' ....  first_frame.png
> 
> This worked great, thanks!

FYI, using identify with '[0]' seems to read the whole image sequence.
Also "convert -identify ..." seems to do that.

Of course it is possible to extract the first image into a file and then 
identify on that as above...  But it would be nice if it just respected 
the selection.

Jim

$ identify -version
Version: ImageMagick 6.3.0 11/05/06 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2006 ImageMagick Studio LLC

$ convert -version
Version: ImageMagick 6.3.0 11/05/06 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2006 ImageMagick Studio LLC



More information about the Magick-users mailing list