Converts a PDF file to a specific PDF standard according to the parameter Type.
|The PDF reference returned from DynaPDF.New.|
|Type||PDF Version to check.
This can be "PDFA 1b 2005", "PDFA 2b", "PDFA 3b" or "Normalize".
Version 6.0 of DynaPDF supports also: ZUGFeRD Basic, ZUGFeRD Comfort and ZUGFeRD Extended.
|"PDFA 1b 2005"|
Various options. If no options are specified, we use default.
Can be specified as number or a texts.
Returns result or error.
DescriptionConverts a PDF file to a specific PDF standard according to the parameter Type.
This function can be used to convert any PDF to PDF/A.
The conversion of arbitrary imported PDF files to PDF/A requires a separate license of the PDF/A Extension (extra purchase in addition to Pro license).
See dynapdf_help.pdf manual file for more details on this function.
You can pass those texts for options:
|DeleteTransferFuncs||Delete Transfer Functions|
|DeleteMultiMediaContents||Delete MultiMedia content|
|DeleteActionsAndScripts||Delete Actions and Scripts|
|DeleteInvRenderingIntent||Delete Invisible Rendering Intent|
|FlattenFormFields||Flatten form fields|
|ReplaceV4ICCProfiles||Replace V4 ICC Profiles|
|DeleteEmbeddedFiles||Delete embedded files|
|DeleteOPIComments||Delete OPI comments.|
|DeletePostscript||Delete Postscript XObjects. Rarely used and such Postscript fragments are meaningful on a Postscript device only. It is usually safe to delete such objects.|
|DeleteAlternateImages||Alternate images are seldom used and prohibited in PDF/A.|
|ReComprJPEG2000Images||Recompression results usually in larger images. It is often better to keep such files as is.|
|ResolveOverprint||PDF/A 2 and 3. Set the overprint mode to 0 if overprint mode = 1 and if overprinting for fill or stroke is true and if an ICCBased CMYK color space is used. Note that DeviceCMYK is treated as ICCBased color space due to implicit color conversion rules.|
|DeleteAppEvents||PDF/A 2 and 3. Application events are prohibited in PDF/A. The view state will be applied.|
|ApplyExportState||Meaningful only if coDeleteAppEvents is set. Apply the export state.|
|ApplyPrintState||Meaningful only if coDeleteAppEvents is set. Apply the print state.|
|DeleteReplies||Delete annotation replies. If absent, replies will be converted to regular text annotations.|
|ReplCCITTFaxWithFlate||Replace CCITT Fax compression with Flate.|
|DeleteHalftones||Delete halftone screens.|
|FlattenLayers||Flatten layers if any.|
|DeletePresentation||Presentations are prohibited in PDF/A 2 and 3.|
|NoFontEmbedding||If this flag is set no valid PDF/A file will be produced!|
|FlushPages||Write converted pages directly into the output file to reduce the memory usage.|
|AllowDeviceSpaces||If set, device color spaces will not be replaced with ICC based color spaces. This flag is meaningful for normalization only.|
|MakeLayerVisible||PDF/A 2 and 3 prohibit invisible layers. Layers can also be flattened if this is no option.|
Check conformance for ZUGFeRD Extended:
Check conformance only:
Feedback: Report problem or ask question.