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

Free Support Forum - aspose.com

Pdf to jpg border shadow

While generating thumbnail from PDF , we are getting a shadow border . What we want is image with out any border .

Thumbnail_With_Success.jpg (1.7 KB)
50-pages.pdf (8.0 MB)

        JpegDevice jpegDevice = new JpegDevice(100, 100, new Resolution(100),100);
         jpegDevice.Process(page, outputMemoryStream);


I can not reproduce the issue so I request you to upgrade to latest version and share your feedback. Page 1.jpg (2.6 KB)

Can you share your code ?


I have used the same code as you have shared:

Document document = new Document(dataDir + "50-pages.pdf");
Page page = document.Pages[1];
    JpegDevice jpegDevice = new JpegDevice(100, 100, new Resolution(100), 100);
    jpegDevice.Process(page, dataDir + "Page 1.jpg");