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

Free Support Forum - aspose.com

PdfFileEditor - extract pages

Hi.

I try to split a pdf file into pieces, by extracting different page via page no…

File file = new File(“Akte_complete.pdf”); // load your sample file here
int startPageIdx= 0;
int endPageIdx= 2;

File subFile = File.createTempFile(“Akte1”, “.pdf”);
PdfFileEditor pdfFileEditor = new PdfFileEditor();
boolean extracted = pdfFileEditor.extract(file.getAbsolutePath(),startPageIdx, endPageIdx, subFile.getAbsolutePath());

In result the extracted page are corrupt. Each page contains the original page + the 90 degree left rotated original page at the left lower corner. (see file attachments)

I’m using aspose-pdf-kit v4.5.0.

Any idea what happend?

Kind regards,
Joerg

Hi Joerg,


Thanks for using our products.

I have tested the scenario and I am able to
notice the same problem. For the sake of correction, I have logged this issue
as PDFKITJAVA-33309 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.

Hi.

Any news on that issue? We’re in the approval process and urgently need a working solution.

Hi Joerg,


Since we recently have been able to notice this issue, so until
or unless we have investigated this issue in details 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.

The issues you have found earlier (filed as PDFKITJAVA-33309) have been fixed in Aspose.Pdf.Kit for Java 4.6.0.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.