I am Converting a particular PDF File into PNG format page by page. The output PNG file is not as expected. I have attached the same output File along with input PDF file.
Using aspose for .NET the same file is getting converted properly....
I am using aspose-pdf-4.5.0. Do I need to configured any additional setting on Document object before converting...??
Here is My Java Code
public static void main(String arg[]) throws Exception { convertFileToPNGSpecific1("Data/Generated/source1.ppt.pdf", "Data/ConvertedUsingJAVA.png", 1); } protected static void convertFileToPNGSpecific1(String pFilename,String pOutputName, int pIndex) throws Exception { com.aspose.pdf.Document lDocument = new com.aspose.pdf.Document(pFilename); com.aspose.pdf.devices.Resolution resolution = new com.aspose.pdf.devices.Resolution(150); com.aspose.pdf.devices.JpegDevice jpegDevice = new com.aspose.pdf.devices.JpegDevice(resolution, 100);
It seems your issue is related to Aspose.Pdf, so I am moving your thread to correct forum. Aspose.Pdf support team will look into your issue and help you asap.
I have tested the scenario and I am able to
notice the same problem that background color of Rectangle objects is appearing as Black in resultant Image and therefore text is not properly visible. For the sake of correction, I have logged this problem
as PDFNEWJAVA-33947 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 little time. We are sorry for
this inconvenience.
Thanks for your inquiry. I’m afraid your reported issue is still not resolved, as we have recently noticed the issue and its investigation is pending in the queue with other priority tasks. However, We will keep you updated with issue resolution progress via this forum thread.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.