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

Discussions about PDF management.
Post Reply
EFernkaes
Posts: 36
Joined: Fri Jul 31, 2015 5:27 pm

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

Post by EFernkaes » Wed Feb 12, 2020 7:01 pm

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.
Attachments
Cannot Determine PageContent on page 21.pdf
(1.96 MiB) Downloaded 536 times
Always produces empty page.pdf
(39.71 KiB) Downloaded 544 times
Always produces empty page 2.pdf
(165.17 KiB) Downloaded 540 times

Hugo
Posts: 227
Joined: Tue Dec 18, 2018 10:09 am

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

Post by Hugo » Fri Feb 14, 2020 4:52 pm

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,

EFernkaes
Posts: 36
Joined: Fri Jul 31, 2015 5:27 pm

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

Post by EFernkaes » Thu Feb 20, 2020 2:09 am

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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest