Code Monkey home page Code Monkey logo

pdfa-gs-converter's Introduction

PDF/A generator

This is a no-configuration converter from any PDF file into a PDF/A A-1b (using PDF 1.4 format). The metadata for Title and Creator come from the plain PDF tags Titleand Author.

Any feature in the PDF that is not allied in PDF/A is removed to ensure PDF/A conformance. Ghostscript will output warning for each occurrence of these featured in the input PDF. When converting a thesis PDF file, the most frequently features dropped by Ghostscript will likely be the PDF annotations (used among other thing to create hyperlinks).

PDF/A requires that not only fonts, but also color profiles be defined and embedded. To provide a configuration-free experience, sRGB is chosen as the profile (the srgb.icc file comes from Ghostscript 9.53.2 distribution).

Warning: This was created to satisfy PDF/A requirements made by a university library. This script has not been tested for other use cases.

FAQ

What is different from http://pdfa.bu.ufsc.br/ ?

  1. The output PDF passes VeraPDF validation
  2. No visual artifacts. The online service causes the whole page (including text) to become pixelated when there is an image included
  3. The output PDF is 1.4 (as intended by A-1b) instead of 1.7
  4. All required metadata tags are filled both in PDF and XMP
  5. The color profile is defined and embedded
  6. The file is usually larger

What is different from pdfx

pdfx is a LaTeX package and runs during regular compilation of the LaTeX file. The issue that motivated using Ghostscript was pdfx failure to embed Helvetica and Courier fonts (which are special fonts that should never be embedded -- except for PDF/A). Maybe that has been resolved (or maybe it is a feature).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.