Hi there,
Thanks for your inquiry. I have converted your shared PDF to JPEG using latest version of Aspose.Pdf for .NET 10.4.0 and unable to notice the white border issue. Please download and try latest version of Aspose.Pdf for .NET version, it will resolve the issue.
Please feel free to contact us for any further assistance.
Best Regards,
Hi Tital,
Hi there,
Hi Tilal,
Hi there,
Thank you Tilal.
Hi,
Hi,
Hi,
Thank you all!
The issues you have found earlier (filed as SLIDESNET-36560) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
The issues you have found earlier (filed as PDFNEWNET-38891) have been fixed in Aspose.Pdf for .NET 11.4.0.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
Dear Aspose team,
Hi there,
Document pdfDocument = new Document(@“Aspose
White Lines Issue.pdf”);<o:p></o:p>
for (int pageCount = 1; pageCount <= pdfDocument.Pages.Count; pageCount++)
{
using (FileStream imageStream = new FileStream(@"Aspose White Lines Issue_1"+pageCount+".jpg", FileMode.Create))
{
// Create Resolution object
Resolution resolution = new Resolution(300);
// Create JPEG device with specified attributes (Width, Height, Resolution, Quality)
// where Quality [0-100], 100 is Maximum
JpegDevice jpegDevice = new JpegDevice(resolution, 100);
// Set this property to eliminate issue with incorrect width (by default WidthExtraUnits = 0)
jpegDevice.RenderingOptions = new RenderingOptions() { WidthExtraUnits = 0.2f };
// Convert a particular page and save the image to stream
jpegDevice.Process(pdfDocument.Pages[pageCount], imageStream);
// Close stream
imageStream.Close();
}
}
Please feel free to contact us for any further assistance.
Best Regards,
Thank you Tilal,
Hi there,
The issues you have found earlier (filed as PDFNET-40535) have been fixed in Aspose.PDF for .NET 22.4.