Error converting an PDF to a searchable PDF

The problem can be reproduced with the following file: Doc00008.pdf (84.5 KB)

The conversion is done using the follwoing code:

Aspose.OCR.DocumentRecognitionSettings rs = new Aspose.OCR.DocumentRecognitionSettings();
rs.PagesNumber = 0;
rs.Language = Aspose.OCR.Language.Deu;
rs.LinesFiltration = true;

Aspose.OCR.AsposeOcr api = new Aspose.OCR.AsposeOcr();
List<Aspose.OCR.RecognitionResult> res1 = api.RecognizePdf(sourceFilePath, rs);

Aspose.OCR.AsposeOcr.SaveMultipageDocument(ocredPdfFilePath, Aspose.OCR.SaveFormat.Pdf, res1);

The filesize of the created PDF Doc00008_OCRed.pdf (1.4 MB)
is huge compared to the source PDF - and Adobe Acrobat Reader DC complains, that the generated PDF is invalid.

@Markus1980Wien

An issue as OCRNET-481 has been logged in our issue management system to investigate this case. We will further look into the issue details and keep you posted with the status of ticket resolution. Please be patient and spare us some time.

We are sorry for the inconvenience.

@Markus1980Wien

We would like to share with you that the earlier logged ticket has been resolved and its fix will be available in 22.3 version of the API which will be published soon.