On Thu, Aug 14, 2008 at 04:32:36PM +0530, Bhupendra Singh <[EMAIL PROTECTED]> 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
