swftools-common
[Top][All Lists]
Advanced

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

Re: [Swftools-common] Bigger swf's coming out of pdf2swf 0.9.1


From: Sameer Atre
Subject: Re: [Swftools-common] Bigger swf's coming out of pdf2swf 0.9.1
Date: Wed, 01 Sep 2010 11:58:23 +0530
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100802 Lightning/1.0b2 Thunderbird/3.1.2

ok,

Tried out the -j 50 option. The size reduction wasn't much but quality of swf came down significantly.
Here's the stats : 

Old  				:  3.39 MB
New  				: 23.20 MB
New with -j 50 			: 14.50 MB (Quality poor; size big)
New with -j 40 			: 12.90 MB (Quality poor; size big)
New with -s subpixels = 2 	:  7.15 MB (Quality good; size big)
New with -j 50 -s subpixels = 2	:  4.15 MB (Quality very poor;size good)

So guess will wait for the fix.

Thnx,
Sameer


On Mon, Aug 30, 2010 at 12:25:30PM +0530, Sameer Atre <address@hidden> wrote:
> 1. Took the page  converted by the previous version and compared it with 
> the newer one using /swfextract/ and then /swfdump/.
> 
> 2. It seems that the older one used to store image content as a PNG 
> while now the preferred choice is JPEG.

That's a bug. I just committed a fix to git. I'll also upload a snapshot
soon.

You can work around the problem by specifying a more aggressive jpeg
compression using -j:
    pdf2swf -j 50 file.pdf -o file.swf

Matthias

reply via email to

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