Hi!
I converted the attached pdf with your sample code of converting pdf to png. The problem is that the image size size much bigger compared to pdfbox 1.8.8 (see attachments). I used Aspose pdf 9.7.1 jdk16 for Java.
I figured out 2 issues:
1) The Aspose conversion has an alpha channel and I do not know how to disable this.
2) The conversion is anti aliased much (e.g. a line of 2 black pixels do not get a line of 2 black pixels but it gets relatively thick with some gray pixels and this also increase the size)
I think this are possibilities to solve this issue.
By the way also the performance is not that good: About 2 seconds with pdfbox and 3.2 seconds with Aspose.
Thank you very much in advance!
Hi Christoph,
Thanks
for using our API’s.<o:p></o:p>
I have tested the scenario and I am able to reproduce the same problem. For the sake of correction, I have logged it in our issue tracking system as PDFNEWJAVA-34710. We will investigate this issue in details and will keep you updated on the status of a correction.
We apologize for your inconvenience.
Hi Christoph,
As we recently have been able to notice this issue, and until or
unless we have investigated and have figured out the actual reasons of this
problem, we might not be able to share any timelines by which this problem will
be resolved.<o:p></o:p>
However, as soon as we have made some significant progress towards the resolution of this issue, we would be more than happy to update you with the status of correction. Please be patient and spare us little time. Your patience and comprehension is greatly appreciated in this regard.
thanks for the feedback! is there any hint (settings?) or workaround you can provide meantime that will reduce the size of the resulting png’s?
Hi Christoph,
Is there any update on this matter?
Hi Christoph,
unless we have investigated and have figured out the actual reasons of this
problem, we might not be able to share any timelines by which this problem will
be resolved.
However,
as soon as we have made some significant progress towards the resolution of
this issue, we would be more than happy to update you with the status of
correction. Please be patient and spare us little time. Your patience and
comprehension is greatly appreciated in this regard
still no update available?
Is there any update on this issue ? I am facing the same problem.
Shape height cannot be greater than 1584 points.
Hi Christoph,braintribe:still no update available?
Hi Steve,chand10:Is there any update on this issue ? I am facing the same problem.The error that I come across is :Shape height cannot be greater than 1584 points.
Hi,
Hi Christoph,braintribe:Hi,a parameter to reduce the file size (e.g. reduce number of colors) would be nice. This would help a lot.
The issues you have found earlier (filed as PDFNEWJAVA-34710) have been fixed in Aspose.Pdf for Java 11.2.0.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.