Hi

I already report the problem at 
http://lists.gnu.org/archive/html/swftools-common/2009-09/msg00096.html 
still no solution. The workaround is to make scheduler with time-out then 
process will be killed after time-out in this case you need to catch it and 
execute it with poly2bitmap then you got swf it is a bit ugly swf but it works 
keep in mind that you need to split your pdf to single pages and execute it for 
all pages one by one.

I am still waiting for solution.

Regards
Farhad



________________________________
From: Andreas Haufler (scireum) <[email protected]>
To: [email protected]
Sent: Thu, October 22, 2009 8:32:12 AM
Subject: RE: [Swftools-common] PDF2SWF conversion hangs when called by simple 
java program ..

That's not true at all, we call pdf2swf from java without any problems (we
converted about 800 documents with > 60.000 Pages) without ANY problems. All
you need to do is read stdout AND stderr of the called program.

I have attached a samnple Java-Class which does that.

Regards
Andy

freundliche Grüße
scireum - Ein Unternehmen der TTI GmbH

i.A. Andreas Haufler 
Projektleiter scireum

----------------------------------------------------------------------------
---------------------------
TTI GmbH - TGU scireum, Friedrichstr. 8, 70736 Fellbach

Tel: (0711) 69394632  -  E-Mail:   [email protected]
Fax: (0711) 69394635  -  Internet: http://www.scireum.de
 
TTI GmbH - Zentrale, Nobelstr. 15, 70569 Stuttgart
Geschäftsführer: Prof. Dr.-Ing. Bernd Bertsche, Elgar Rödler
Amtsgericht Stuttgart, HRB 19455 

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
Matthias Kramm
Sent: Wednesday, October 21, 2009 6:21 PM
To: [email protected]
Subject: Re: [Swftools-common] PDF2SWF conversion hangs when called by
simple java program ..

On Tue, Oct 20, 2009 at 12:20:39PM +0530, Aparna More
<[email protected]> wrote:
> Then we have written a simple java program which will call this executable
> and we have abserved that it hangs after processing 300 pages.

Try running pdf2swf with the -vvvv option and determine the
last log statement before it hangs.

These "calling from Java" issues have come up before, but nobody
seems to have found a definite solution.

Matthias


      

Reply via email to