swftools-common
[Top][All Lists]
Advanced

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

Re: [Swftools-common] knowing output swf size in advance


From: Matthias Kramm
Subject: Re: [Swftools-common] knowing output swf size in advance
Date: Fri, 15 Aug 2008 18:27:01 +0200
User-agent: Mutt/1.5.6i

On Thu, Aug 14, 2008 at 04:32:36PM +0530, Bhupendra Singh <address@hidden> 
wrote:
> which suggests, if I pass handle as -1, it should return length of
> bytes (compressed) it will write to a file. But when I manually pass
> handle as -1,
> len comes 0. :(

Thanks for spotting this- the function *should* return the 
estimated file size. WriteCGI() uses this, too, and indeed, 
for compressed files, filesize seems to be zero right now:

$ gif2swf -C -z test.gif
Content-type: application/x-shockwave-flash
Accept-Ranges: bytes
Content-Length: 0
Expires: Thu, 13 Apr 2000 23:59:59 GMT

This is a bug- I'll try to fix this.

Greetings

Matthias






reply via email to

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