Hi everybody!,
Hi Aspose Team, !
my english is not very well, sorry… but i will try it…
I’m testing the library, becouse i want buy it, but i need know if have all the funtionality that i need.
I’m running a console app (c#, .net) where i try convert a PPTX to PDF, … BUT (important!)… my document is so big, has a size about 400 or 500 MB… are pptx with statistics information. I need convert them from pptx to pdf. That’s my request.
So, i run the app and…2 things happen:
- The app delay much time… more than 30 minutes… really i can’t see finished.
- With de app in 32bits fail, under the error: “System.OutOfMemoryException”, i have change the app to 64bits… but I DONT DO MUST THAT… becouse the work’s server is running under 32 bits…
So, i need running under 32 bits (the app), without that error, and convert my documents PPTX of 400 mb to PDF approx…
Is all that posible?
I understand that will delay some minutes… but, How many minutes are “normal” ?
I need other configurations? more parameters?
Tell me that you need more information?
I share you the code that use now…
String pptxFile = @"C:\ContribucionG.pptx";
String pdfFile = @"C:\ContribucionG.pdf";
try
{
Console.WriteLine("Conversion iniciada..");
// I dont know if i need this....
LoadOptions loadOptions = new LoadOptions
{
BlobManagementOptions = new BlobManagementOptions
{
IsTemporaryFilesAllowed = true,
PresentationLockingBehavior = PresentationLockingBehavior.KeepLocked,
MaxBlobsBytesInMemory = UInt64.MaxValue
}
};
Presentation presentation = new Presentation(pptxFile, loadOptions);
PdfOptions pdfOptions = new PdfOptions
{
SaveMetafilesAsPng = false
};
presentation.Save(pdfFile, SaveFormat.Pdf, pdfOptions);
Console.WriteLine("Finalizada");
}
catch (Exception ex)
{
Console.WriteLine("Error: " + ex.Message);
}
Console.ReadKey();