Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
What is APDFL?
Google gives lots of interesting answers but few seem relevant ...
Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
Point 1
i want to know if the file is a pdf/a -document and additionally i want to know the pdf/a 'marker'.
Is it no pdf/a-document or is it a pdf/a2a or pdf/a1b or pdf/a3u or pdf/x or .... ?
i hope i can explain my question unambiguously.
thanks
Karsten
Find more inspiration, events, and resources on the new Adobe Community
Explore Now