I am not sure that you are the correct address for this
request, but after purchasing your product and using it on our servers we experience very strange performance problems.
It seems converting documents, especially from PDF to
TIFF format, can take 10 to 80 seconds, even for small files.
Also trying to reduce file sizes, we tried to use compression,
but this increased the CPU even more.
Can you assist us on this as soon as possible and refer
this to your technical team?
This is a partial C# code we use for converting:
privatevoid ConvertPDF(byte[]
data, MemoryStream stream_out)
{
//
Aspose License (Path is as DLL or external)
string
licenseName = "Aspose.Pdf.lic";
if
(!String.IsNullOrEmpty(LicencePath))
licenseName = LicencePath + licenseName;
Aspose.Pdf.License
licensePdf = new Aspose.Pdf.License();
licensePdf.SetLicense(licenseName);
//
Convert the input to stream
using
(MemoryStream stream_in = newMemoryStream(data))
{
//
Load File From Stream into Aspose
Aspose.Pdf.Facades.PdfConverter
converter = new Aspose.Pdf.Facades.PdfConverter();
converter.BindPdf(stream_in);
//create
TiffSettings object (To reduce file size, change color settings)
//
Aspose.Pdf.Devices.TiffSettings tiffSettings = new Aspose.Pdf.Devices.TiffSettings();
//
tiffSettings.Depth = Aspose.Pdf.Devices.ColorDepth.Default;
converter.DoConvert();
converter.SaveAsTIFF(stream_out);
//
converter.SaveAsTIFF(stream_out,tiffSettings);
}
}
This message was posted using Email2Forum by Merit Cooper.