We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose.pdf.kit DoConvertException

Hello, i have an exception when i Uer the doconvert method.

here is my code ( see the attached file )
#region Aspose Licencing
var l_oPdfKitLicence = new Aspose.Pdf.Kit.License();

var l_oConverter = new Aspose.Pdf.Kit.PdfConverter();
l_oConverter.StartPage = 1;
l_oConverter.EndPage = 1;
l_oConverter.Resolution = 100;

var l_oMemoryStream = new MemoryStream();
while (l_oConverter.HasNextImage())
l_oConverter.GetNextImage(l_oMemoryStream, ImageFormat.Jpeg, 100, 100, 100;

here is the strack trace of the exception exception

à x30a678191d9b1780.x573da502a3364b6b.x5b81632e5b71b64c(Int32& x1de68a531466236f, Int32& x39b5532b4ddc40a3)
à Aspose.Pdf.Kit.PdfConverter.xaf6adc9ec3dfd936()
à Aspose.Pdf.Kit.PdfConverter.DoConvert()
à Rio.WCF.Services.Treatments.CreatePdfThumbNail 27/08/2010 11:54:42

The text of the exception is : Out of memory

all this to do a thumbNail... When will aspose provide a GetThumbNail method ?


Hi Muhar,

I have tested this issue at my end, but couldn’t see any such exception. The code snippet was executed successfully with the attached sample file. Can you please make sure that you’re using the latest version of the component? If you’re already using the latest version then please share a small sample application with us, which can help us reproduce the same issue at our end. You’ll be updated accordingly.

We’re sorry for the inconvenience.