swftools-common
[Top][All Lists]
Advanced

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

Re: [Swftools-common] pdf2swf - How to reduce the swf file size?


From: Matthias Kramm
Subject: Re: [Swftools-common] pdf2swf - How to reduce the swf file size?
Date: Thu, 23 Oct 2008 13:17:11 +0200
User-agent: Mutt/1.5.6i

On Thu, Oct 23, 2008 at 12:39:47PM +0530, MG Balaji <address@hidden> wrote:
> I am using latest SWF tool ("swftools-2008-10-13-1554") version. I am
> trying to convert individual PDF pages into individual SWF files. In
> that some of the PDF page size is more then 3 MB and some having more
> images. The SWF size for these pages having 800 KB and 1 MB. How can I
> reduce the SWF file size (below 300 KB)?. Is there any option
> available?. 

Try e.g.
    pdf2swf -s subpixels=1 -s jpegquality=50 file.pdf -o file.swf

> Also I saw some of the previous threads and got some options -
> "poly2bitmap" and "-O1". I tried this options, It will reduce the SWF
> file size dramatically(eg: 1MB SWF size to 200 KB), but the image
> quality is very poor. I wants to know what "-O1" and "poly2bitmap"
> do?. 

It converts everything except text into a bitmap.

> Is there any way to reduce the SWF size without affecting the image quality?.

You might want to try --flatten:
    pdf2swf --flatten file.pdf -o file.swf
.
That helps sometimes.

Greetings

Matthias






reply via email to

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