Skip to main content
Participant
December 8, 2021
Question

How can i verify the pdf/a compliance using the APDFL?

  • December 8, 2021
  • 2 replies
  • 1286 views

Is there a function to determine the pdf/a - conformance of an existing file.

To get for example: pdf/a 2a, pdf/a 1b, ...

 

thanks

Karsten

This topic has been closed for replies.

2 replies

Legend
December 8, 2021

APDF - Adobe PDF Library (as licensed by DataLogics).

API is identical to the Acrobat plug-in API, except without any UI. Also without file conversions and preflighting (which is what does PDF/A validation).

 

Karsten - do you actually want to see if a file claims to be PDF/A (includes the PDF/A marker), or do you want to check whether a file claiming to be PDF/A conforms to all of the requirements in the ISO standard?

Participant
December 9, 2021

Thanks for answering so far.

The Adobe PDF Library has functions to convert pdf-files into a pdf/a conform standard.

typedef enum {
/** Convert to PDF/A-1a RGB */
kPDFProcessorConvertToPDFA1aRGB,
/** Convert to PDF/A-1a CMYK */
kPDFProcessorConvertToPDFA1aCMYK,
/** Convert to PDF/A-1b RGB */
kPDFProcessorConvertToPDFA1bRGB,
/** Convert to PDF/A-1b CMYK */
kPDFProcessorConvertToPDFA1bCMYK,
/*DLADD 29Jul2019 - Added new options for Part 2 and Part 3.*/
/** Convert to PDF/A-2b RGB */
kPDFProcessorConvertToPDFA2bRGB,
/** Convert to PDF/A-2b CMYK */
kPDFProcessorConvertToPDFA2bCMYK,
/** Convert to PDF/A-2u RGB */
kPDFProcessorConvertToPDFA2uRGB,
/** Convert to PDF/A-2u CMYK */
kPDFProcessorConvertToPDFA2uCMYK,
/** Convert to PDF/A-3b RGB */
kPDFProcessorConvertToPDFA3bRGB,
/** Convert to PDF/A-3b CMYK */
kPDFProcessorConvertToPDFA3bCMYK,
/** Convert to PDF/A-3u RGB */
kPDFProcessorConvertToPDFA3uRGB,
/** Convert to PDF/A-3u CMYK */
kPDFProcessorConvertToPDFA3uCMYK
} PDFProcessorPDFAConversionOption;

PDFProcessorConvertAndSaveToPDFA()

 

But i found no function to check the current pdf/a conformance of an existing pdf-file. So, before i convert a file to the wanted pdf/a conformance, i need to consider the file.

I can parse the file by myself and search for <pdfaid:part> and <pdfaid:conformance>, but that's not what i wanted.

Is there a way to check this by Adobe PDF Library or some other c++ Library?

Legend
December 9, 2021

I am still not 100% sure what you mean by "check for conformance". Can you clarify

(1) do you want to see if a file claims to be PDF/A (includes the PDF/A marker), or

(2) do you want to check whether a file claiming to be PDF/A conforms to all of the requirements in the ISO standard, checked in detail?

JR Boulay
Community Expert
Community Expert
December 8, 2021

What is APDFL?

Google gives lots of interesting answers but few seem relevant ...

Acrobate du PDF, InDesigner et Photoshopographe