swftools-common
[Top][All Lists]
Advanced

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

[Swftools-common] In PDF2SWF not able to convert more than 2.8 Mb .pdf f


From: Avinash Singh
Subject: [Swftools-common] In PDF2SWF not able to convert more than 2.8 Mb .pdf file by command line in ASP.net web application
Date: Wed, 9 Oct 2013 15:32:37 +0530

Hi,

I am using PDF2SWF tool to convert .pdf files to .swf files in my ASP.Net web application using PDF2SWF.exe by command line, but i am not able to convert more than 2.8 mb .pdf files. its continue executing, but its not converting files to .swf

Here is my ASP.Net code,

                string strSWFFile = pdfFileName.Split('.')[0];

                string strArguments = " \"Root/UploadFiles/" + pdfFileName + "\" -o \"Root/UploadFiles/" + strSWFFile + ".swf\"";

                System.Diagnostics.Process p = new System.Diagnostics.Process();

                p.StartInfo.UseShellExecute = false;

                p.StartInfo.RedirectStandardOutput = true;

                p.StartInfo.CreateNoWindow = true;

                p.StartInfo.RedirectStandardError = true;

                p.StartInfo.WorkingDirectory = HttpContext.Current.Server.MapPath("~");

                p.StartInfo.FileName = HttpContext.Current.Server.MapPath("~/Root/UploadFiles/pdf2swf.exe");

                p.StartInfo.Arguments = strArguments;

                //Start the process

                p.Start();
                p.WaitForExit();
                p.Close();



please help me regarding this issue..


Thanks,
Avinash Singh


reply via email to

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