Pdf to XML

Hi,


I am using aspose to convert pdf to xml format. This conversion creates a lot many .tif * .jpg files. Is there any way by which i can stop creation of these files and only xml gets generated?

Hi,


Thanks for your inquiry.

I am afraid that currently API does not ignore/skip media files during PDF to XML conversion. Though, we have logged a feature request as PDFJAVA-36720 in our issue tracking system, to skip/ignore media files (i.e *tif, *.jpg, *.png, etc) while saving/exporting PDF to XML. Development team will further take care of this enhancement request and we will certainly update you once the feature is added.

Furthermore, you can delete files manually after saving the PDF into XML by using System.IO.File.Delete() method for now. Please be patient and spare us little time. We are sorry for the inconvenience.


Best Regards,