help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: reading GIFs


From: Stuart Edwards
Subject: Re: reading GIFs
Date: Tue, 1 Jun 2010 17:44:37 -0400

I had a somewhat similar problem yesterday and found:

http://ubuntuforums.org/showthread.php?t=1449917

which helped my situation.

hth

Stu


On Jun 1, 2010, at 5:05 PM, mafaraxas wrote:

> 
> The problem is that I want _all_ the frames, not just one.  I know MATLAB has
> a feature to read all the frames in at once, giving you a 4D array.  I can
> pass in a range of frames as well that partly works, i.e.:
> 
> img=imread('blah.gif',1:10)
> 
> gives me a 4D array for image.  But that only works if I know the image has
> (at least) 10 frames.  If it had only 9 frames, I'd get an error back with
> nothing read at all.  The problem is that if I am reading an arbitrary .gif
> in, I have no idea how many frames it has.  That is the situation I need to
> get past (in an elegant way, preferably).
> -- 
> View this message in context: 
> http://octave.1599824.n4.nabble.com/reading-GIFs-tp2236793p2239223.html
> Sent from the Octave - General mailing list archive at Nabble.com.
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave




reply via email to

[Prev in Thread] Current Thread [Next in Thread]