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<addr...@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