17.05.2014 Views

PDFlib 8 Windows COM/.NET Tutorial

PDFlib 8 Windows COM/.NET Tutorial

PDFlib 8 Windows COM/.NET Tutorial

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Table 10.12 PDF/A color strategies<br />

output intent<br />

color spaces which can be used in the document<br />

CIELab 1 ICCBased Grayscale 2 RGB 2 CMYK 2<br />

none yes yes – – –<br />

Grayscale ICC profile yes yes yes – –<br />

RGB ICC profile, e.g. sRGB yes yes yes yes –<br />

CMYK ICC profile yes yes yes – yes<br />

1. LZW-compressed TIFF images with CIELab color will be converted to RGB.<br />

2. Device color space without any ICC profile<br />

In addition to the color spaces listed in Table 10.12, spot colors can be used subject to the<br />

corresponding alternate color space. Since <strong>PDFlib</strong> uses CIELab as the alternate color<br />

space for the builtin HKS and PANTONE spot colors, these can always be used with PDF/<br />

A. For custom spot colors the alternate color space must be chosen so that it is compatible<br />

with the PDF/A output intent.<br />

Note More information on PDF/A and color spaces can be found in Technical Note 0002 of the PDF/A<br />

Competence Center at www.pdfa.org.<br />

10.4.5 XMP Document Metadata for PDF/A<br />

PDF/A-1 heavily relies on the XMP format for embedding metadata in PDF documents.<br />

ISO 19005-1 refers to the XMP 2004 specification 1 ; older or newer versions of the XMP<br />

specification are not supported. PDF/A-1 supports two kinds of document-level metadata:<br />

a set of well-known metadata schemas called predefined schemas, and custom extension<br />

schemas. <strong>PDFlib</strong> will automatically create the required PDF/A conformance entries<br />

in the XMP as well as several common entries (e.g. CreationDate).<br />

User-generated document metadata can be supplied with the metadata option of<br />

begin/end_document( ). In PDF/A mode <strong>PDFlib</strong> verifies whether user-supplied XMP document<br />

metadata conforms to the PDF/A requirements. There are no PDF/A requirements<br />

for component-level metadata (e.g. page or image).<br />

XMP metadata from imported PDF documents can be fetched from the input PDF via<br />

the pCOS path /Root/Metadata.<br />

Cookbook A full code sample can be found in the Cookbook topic interchange/import_xmp_from_pdf.<br />

Predefined XMP schemas. PDF/A-1 supports all schemas in XMP 2004. These are called<br />

predefined schemas, and are listed in Table 10.13 along with their namespace URI and<br />

the preferred namespace prefix. Only those properties of predefined schemas must be<br />

used which are listed in XMP 2004. A full list of all properties in the predefined XMP<br />

schemas for PDF/A-1 is available from the PDF/A Competence Center.<br />

XMP extension schemas. If your metadata requirements are not covered by the predefined<br />

schemas you can define an XMP extension schema. PDF/A-1 describes an extension<br />

mechanism which must be used when custom schemas are to be embedded in a<br />

PDF/A document. Table 10.14 summarizes the schemas which must be used for describing<br />

one or more extension schemas, along with their namespace URI and the required<br />

1. See www.aiim.org/documents/standards/xmpspecification.pdf<br />

266 Chapter 10: PDF Versions and Standards (Edition for <strong>COM</strong>, .<strong>NET</strong>, and REALbasic)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!