ConvertToPDFA not working properly
Posted: Mon Feb 03, 2020 5:52 pm
Hello ORPALIS-Team,
I'm using v14.1.51
This small code, produces the "Converted document.pdf" from the "Original document.pdf" (both attached)
oGdPicturePdf.LoadFromFile("Original document.pdf")
Status = oGdPicturePdf.ConvertToPDFA("Converted document.pdf", PdfConversionConformance.PDF_A_1b, True, True)
oGdPicturePdf.CloseDocument
Problem 1: When opening the PDF it Shows an error saying "Errors on this page. The page will probably not be shown properly. Talk to the creator of the document...."
Problem 2: Feeding the state-of-the-art PDF Validator of 3-heights, this error Output is produced:
The color space is invalid. (multiple times)
The document does not conform to the requested standard.
The document doesn't conform to the PDF reference (missing required entries, wrong value types, etc.).
The document does not conform to the PDF/A-1b standard.
Problem 3: Status has no error message, that something went wrong during conversion process
Problem 4: When checking the conformance Level
oGdPicturePdf.LoadFromFile("Converted document.pdf")
Debug.Print(oGdPicturePdf.GetPDFAConformance
oGdPicturePdf.CloseDocument
it shows "PDF_A_1b {2}"
So we do not have any chance to recognize the corrupted file without using the online tool of 3 heights.
> Quite problematic.
Thank you for checking and helping.
Reinhard
I'm using v14.1.51
This small code, produces the "Converted document.pdf" from the "Original document.pdf" (both attached)
oGdPicturePdf.LoadFromFile("Original document.pdf")
Status = oGdPicturePdf.ConvertToPDFA("Converted document.pdf", PdfConversionConformance.PDF_A_1b, True, True)
oGdPicturePdf.CloseDocument
Problem 1: When opening the PDF it Shows an error saying "Errors on this page. The page will probably not be shown properly. Talk to the creator of the document...."
Problem 2: Feeding the state-of-the-art PDF Validator of 3-heights, this error Output is produced:
The color space is invalid. (multiple times)
The document does not conform to the requested standard.
The document doesn't conform to the PDF reference (missing required entries, wrong value types, etc.).
The document does not conform to the PDF/A-1b standard.
Problem 3: Status has no error message, that something went wrong during conversion process
Problem 4: When checking the conformance Level
oGdPicturePdf.LoadFromFile("Converted document.pdf")
Debug.Print(oGdPicturePdf.GetPDFAConformance
oGdPicturePdf.CloseDocument
it shows "PDF_A_1b {2}"
So we do not have any chance to recognize the corrupted file without using the online tool of 3 heights.
> Quite problematic.
Thank you for checking and helping.
Reinhard