When I extract a pdf, the result page is overridden twice on the single page, once in portrat and other in lanscape.
We do have an enterprize license.
I have a 2 page PDF document and want to extract the first page. I execute the following code and return a byte array. I do not set any other properties, if i have to, please let me know what properties must be retrieved from the source and what must be set in the result page.
Please find attached the Source_Error.pdf and Result_Error.pdf.
java jdk 1.6
OutputStream extractedImageOutputStream = new OutputStream()
pdfEditor = new PdfFileEditor();
pdfEditor.extract(imageInputStream, extractPageNumbers, extractedImageOutputStream);