Thumbnail generated incorrectly by pdf library

The thumbnail generated from the code below does not match the pdf. Run the attached code and extract the thumbnail from example_pdf.pdf. example_thumb.jpg illustrates the incomplete rendering.

private static void MakeThumbnail(string filePath, string thumbPath)
{
    //Load the document
    Aspose.Pdf.Document pdfDocument = new Aspose.Pdf.Document(filePath);

    using (FileStream imageStream = new FileStream(thumbPath, FileMode.Create))
    {
        //Create PNG device with specified resolution
        Aspose.Pdf.Devices.Resolution resolution = new Aspose.Pdf.Devices.Resolution(300);
        Aspose.Pdf.Devices.JpegDevice jpgDevice = new Aspose.Pdf.Devices.JpegDevice(resolution, 100);

        //Convert page 1 and save the image to stream
        jpgDevice.Process(pdfDocument.Pages[1], imageStream);

        //Close stream
        imageStream.Close();
    }
}

Hi Ron,

Thanks for using our API’s.

I have tested the scenario and I am able to notice the same problem. For the sake of correction, I logged this problem as PDFNEWNET-38974 in our issue tracking system. We will further look into the details of this problem and will keep you updated on the status of correction. Please be patient and spare us some time. We are sorry for this inconvenience.

@ronkphillips

Thanks for your patience.

We are pleased to inform you that earlier reported issue PDFNET-38974 has been resolved in Aspose.PDF for .NET 18.1. Please download latest version of the API and in case of any further assistance, please feel free to let us know.