Free Support Forum - aspose.com

Aspose PDF to word conversion increasing the file size post saving from few KB to several MB

Hi Team,

we are using Aspose PDF licence version 17.11 and facing one issue while converting PDF to word document , post saving to .pdf to .docx file format if we open the file and add few characters and save then file size increase from few KB to several MB.
for one 5 KB PDF file, post word conversion and save increases to 2.44 MB and other 11 KB to 2.58 MB. same issue exists for empty file and we also tried it for both mode as below.
DocSaveOptions.RecognitionMode.Textbox and DocSaveOptions.RecognitionMode.Flow;
other setting are
DocSaveOptions.RelativeHorizontalProximity = 2.5f;
DocSaveOptions.RecognizeBullets = true;

Steps:-

  1. Upload PDF file.
  2. Convert it to PDF to word with save options.
  3. Check file size of word file (its same as PDF).
  4. Open saved word file manually.
  5. Add few characters and save again.
  6. Check file size now ( its increases to MB).

could you please investigate and let us know the resolution.

Many Thanks…

@rahulmb

Would you kindly try using Aspose.PDF for .NET 20.7v. In case you still notice any issue, please let us know. Also, please share a sample output Word file with us in .zip format.