Hi,
I use Aspose PdfKit 4.2 for java
I do this simple code
InputStream input = new FileInputStream("/home/mburger/tmp/mfm/207_2008_1_T4_2.pdf");
OutputStream output = new FileOutputStream("/home/mburger/tmp/mfm/xxxx.pdf");
PdfFileEditor editor = new PdfFileEditor();
editor.extract(input, 1, 1, output);
output.flush();
output.close();
input.close();
The Output File has ALWAYS the same size as the input file, if my document has 10 pages and is 5MB big, I extract only the first page from the file, the result file has my desired PAGE but is still 5MB big!!! If I extract 2 pages the file has the same size as the extracted with one page!
can you help me?
I use Aspose PdfKit 4.2 for java
I do this simple code
InputStream input = new FileInputStream("/home/mburger/tmp/mfm/207_2008_1_T4_2.pdf");
OutputStream output = new FileOutputStream("/home/mburger/tmp/mfm/xxxx.pdf");
PdfFileEditor editor = new PdfFileEditor();
editor.extract(input, 1, 1, output);
output.flush();
output.close();
input.close();
The Output File has ALWAYS the same size as the input file, if my document has 10 pages and is 5MB big, I extract only the first page from the file, the result file has my desired PAGE but is still 5MB big!!! If I extract 2 pages the file has the same size as the extracted with one page!
can you help me?