[prev in list] [next in list] [prev in thread] [next in thread] 

List:       swftools-common
Subject:    [Swftools-common] Multiple  Swf generation from single pdf
From:       "Pravin Uttarwar" <pravin.uttarwar () perennialsys ! com>
Date:       2009-06-15 13:01:04
Message-ID: 000001c9edb7$ac6f1950$054d4bf0$ () uttarwar () perennialsys ! com
[Download RAW message or body]

This is a multipart message in MIME format.


Hi guys,

 

I am having the requirement in my project where I want to split a PDF file
into SWF file(s) with each SWF containing 10 pages.

Everything works well and fine if I start multiple processes for each
conversion and also I have to wait 

For each conversion to finish, so I have started multiple processes
synchronously.

But if the PDF file contains more than 1000 pages then I have to start 100
such process for one PDF file,

Which is Causing a lot Processor Overhead. :(

 

Is there any other way to achieve the same?

I think it is better to have an option with pdf2swf.exe which can take
multiple (comma separated)  list of page numbers with -p option,

 

Eg:  pdf2swf.exe  -T 9 -p 1-10,11-20,21-30 -f -t -z c:\\test.pdf -o
c:\\test.swf

 

So that pdf2swf.exe will handle all this and no need to create multiple
processes. :)

 

 

Regards,

Pravin Uttarwar

 


[Attachment #3 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:"Blackadder ITC";
	panose-1:4 2 5 5 5 16 7 2 13 2;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal>Hi guys,<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-indent:.5in'>I am having the requirement in my
project where I want to split a PDF file into SWF file(s) with each SWF
containing 10 pages.<o:p></o:p></p>

<p class=MsoNormal>Everything works well and fine if I start multiple processes
for each conversion and also I have to wait <o:p></o:p></p>

<p class=MsoNormal>For each conversion to finish, so I have started multiple
processes synchronously.<o:p></o:p></p>

<p class=MsoNormal>But if the PDF file contains more than 1000 pages then I
have to start 100 such process for <b>one PDF file</b>,<o:p></o:p></p>

<p class=MsoNormal><b>Which is Causing a lot Processor Overhead</b>. \
<b>:(</b><o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Is there any other way to achieve the same?<o:p></o:p></p>

<p class=MsoNormal>I think it is better to have an option with <b>pdf2swf.exe</b>
which can take multiple (comma separated)&nbsp; list of page numbers with -p \
option,<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><b>Eg: &nbsp;pdf2swf.exe &nbsp;-T 9 -p 1-10,11-20,21-30 -f
-t -z c:\\test.pdf -o &nbsp;c:\\test.swf<o:p></o:p></b></p>

<p class=MsoNormal><b><o:p>&nbsp;</o:p></b></p>

<p class=MsoNormal>So that <b>pdf2swf.exe </b>will handle all this and no need
to create multiple processes. <b>:)<o:p></o:p></b></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><b><span style='font-size:14.0pt;font-family:"Blackadder ITC";
color:#4F81BD'>Regards,<o:p></o:p></span></b></p>

<p class=MsoNormal><b><span style='font-size:14.0pt;font-family:"Blackadder ITC";
color:#4F81BD'>Pravin Uttarwar<o:p></o:p></span></b></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic