Converting a PDF document to pdf format pdfA_2u produces error "Not supported image type"

The attached Releases.pdf is the inputfile for this piece of code: (I selected “2U” in the ListBoxFormat):

   // open input Pdf
    Aspose.Pdf.Document pdfDocument = new Aspose.Pdf.Document(inputPath);

    // Convert to different PDF compliant document
    // During conversion process, the validation is also performed
    PdfFormat myPdfFormat;
    if (Enum.TryParse(listBoxFormat.SelectedItem.ToString(), out myPdfFormat))
    {
        uint value = (uint)myPdfFormat;
    }
    else { /* error: the string was not an enum member */ }
    string logFile = Path.GetFileNameWithoutExtension(inputPath) + "-log.xml";
    pdfDocument.Convert(Path.Combine(_outDir, logFile), myPdfFormat, ConvertErrorAction.Delete);

    // Save output document
    pdfDocument.Save(outputPath);

But it fails with: “Not supported image type”. How to fix this?

Releases.zip (2.0 MB)
Releases-log.zip (669 Bytes)

@fransbloemen

We were able to replicate the similar issue in our environment while testing the scenario with 22.3 version of the API. Hence, it has been logged as PDFNET-51705 in our issue tracking system. We will further check it and let you know as soon as it is rectified. Please be patient and spare us some time.

We are sorry for the inconvenience.