[Top][All Lists]

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

Re: [Swftools-common] pdf2swf out of memory problem

From: Matthias Kramm
Subject: Re: [Swftools-common] pdf2swf out of memory problem
Date: Mon, 13 Apr 2009 00:52:03 +0200
User-agent: Mutt/1.5.6i

On Wed, Apr 08, 2009 at 09:46:01AM +0200, Farhad Seyedmehdi <address@hidden> 
> When I try to convert the attached file with the following command I got out 
> of memory:
> D:\WORKSP~1\E-DCSE~1\RESOUR~1\tools\SWFTools>pdf2swfold.exe -G -j90
> -T8 -S -s zoom=75 -s multiply=180/75 -s -poly2bitmap -s
> linksopennewwindow -s linknameurl -s enablezlib -s bboxvars -s
> flashversion=8 -s jpegquality=90 -s splinequality=100 19.pdf

Seems you use poly2bitmap, which converts the background of the file to a
bitmap. You also use a huge multiply value (180, the "/75" is ignored),
so it creates a bitmap of this size:

> NOTICE  processing PDF page 1 (111600x157680:0:0) (move:0:0)

You need 64 Terabytes of main memory to store a bitmap this size.
(I'm told there is a supercomputer in New Mexico which could actually
 do this :))

Change the "-s multiply=180/75" to "-s multiply 2" or "-s multiply 3" 
(only integers allowed here) and the conversion works.


reply via email to

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