Page 1 of 1

PDFA-conversion: Empty pages / false values / missing signatures

Posted: Wed Feb 12, 2020 7:01 pm
by EFernkaes
Hello ORPALIS-Team,

attached you will find 3 pdf-files.

Common to all thre is, that they were converted to PDF/A-1b with your

Code: Select all

status = urGdPicturePdf.ConvertToPDFA(tmpComparablePDFFile, PDFA_PdfConversionConformance.PDF_A_1b, True, True)
command.
Each of them has empty pages after the conversion.
"Cannot Determine PageContent on page 21.pdf" beginning with page 21ff.

We are also analyzing the source pdfs before converting them to get an Impression, which Content we find on the pages.
When using this code:

Code: Select all

status = urGdPicturePdf.LoadFromFile(SourceNamePDF, False)
PageCount = urGdPicturePdf.GetPageCount
 For page = 1 To PageCount
 	status = urGdPicturePdf.SelectPage(page)
 	If urGdPicturePdf.GetPageImageCount Or urGdPicturePdf.PageHasText Or urGdPicturePdf.PageHasShape Then
 		' Check content
 	End if
Next
urGdPicturePdf.CloseDocument
urGdPicturePdf.GetPageImageCount is showing "0" beginning with page 21 in the file "Cannot Determine PageContent on page 21.pdf" even so, there are some Images on the page.
If I raster the page:

Code: Select all

img = urGdPicturePdf.RenderPageToGdPictureImage(200, True)
suddenly, urGdPicturePdf.GetPageImageCount is showing the correct value "2"

And last but not least: "Cannot Determine PageContent on page 21.pdf" contains 2 signatures.
They get lost when converting the source file to a PDF/A1-b file.
SIgnatures are normally allowed in PDF/A1-b files.
Can't you just copy the signature to the newly created PDF/A file? Or at laest render the stamp to an Image in the new document?

Thank you very much for your efforts.

Re: PDFA-conversion: Empty pages / false values / missing signatures

Posted: Fri Feb 14, 2020 4:52 pm
by Hugo
Hi there,

Would you be able to provide this information in a ticket please?: https://orpalis.zendesk.com/hc/en-us/requests/new
You seem to be pointing out a few issues here. In order to better identify them would you be able to attach a sample project to the ticket you create showing us what you mean please?

Regards,

Re: PDFA-conversion: Empty pages / false values / missing signatures

Posted: Thu Feb 20, 2020 2:09 am
by EFernkaes
Really?

Did I really describe the problem so complicated?
Could you not just convert the files with the "ConvertToPDFA" command with the Parameter /A1-b? The results are obvious.

OK, I need your help, I will do so an start a ticket.

Please delete the sample files on the above post.

Reinhard