swftools-common
[Top][All Lists]
Advanced

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

Re: [Swftools-common] Extract uncompressed file size


From: Matthias Kramm
Subject: Re: [Swftools-common] Extract uncompressed file size
Date: Thu, 9 Dec 2004 12:41:59 +0100
User-agent: Mutt/1.5.6i

On Fri, Dec 03, 2004 at 08:36:21AM +0100, Philippe Maurer wrote:
> I have just faced a trouble working with flash files. When using the
> getBytesTotal actionscript command, flash returns the uncompressed file size
> of a flash movie.
> 
> Would it be possible to add this information in the swfdump tool? Let's say
> a "-s size" option that would return the uncompressed file size of a movie.

That's part of the file header. At least on Unix, you could extract it
by doing something like
    swfdump file.swf | grep File.size | sed s/^.*File.size:.// | sed 's/ .*$//'
.

Greetings

Matthias









reply via email to

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