https://github.com/michaelrsweet/pdfio
PDFio is a simple C library for reading and writing PDF files.
https://github.com/michaelrsweet/pdfio
c pdf pdf-document pdf-document-api pdf-document-processor pdf-generation
Last synced: 24 days ago
JSON representation
PDFio is a simple C library for reading and writing PDF files.
- Host: GitHub
- URL: https://github.com/michaelrsweet/pdfio
- Owner: michaelrsweet
- License: apache-2.0
- Created: 2021-05-30T14:03:24.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2025-05-03T14:09:59.000Z (10 months ago)
- Last Synced: 2025-05-03T15:23:25.151Z (10 months ago)
- Topics: c, pdf, pdf-document, pdf-document-api, pdf-document-processor, pdf-generation
- Language: C
- Homepage: https://www.msweet.org/pdfio
- Size: 8.74 MB
- Stars: 246
- Watchers: 10
- Forks: 53
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
- fucking-awesome-cpp - pdfio - A simple C library for reading and writing PDF files. [Apache-2] 🌎 [website](www.msweet.org/pdfio/) (PDF)
- awesome-c - pdfio - PDFio is a simple C library for reading and writing PDF files. [Apache-2.0](https://spdx.org/licenses/Apache-2.0.html) (PDF / Advanced books)
- awesome-c-zh - pdfio - 2.0.html) (PDF / 高级书籍)
- awesome-c - pdfio - PDFio is a simple C library for reading and writing PDF files. [Apache-2.0](https://spdx.org/licenses/Apache-2.0.html) (PDF / Advanced books)
- awesome-cpp - pdfio - A simple C library for reading and writing PDF files. [Apache-2] [website](https://www.msweet.org/pdfio/) (PDF)
- awesome-cpp-with-stars - pdfio - 2] website | 2026-02-15 | (PDF)
README
PDFio - PDF Read/Write Library
==============================


[](https://github.com/michaelrsweet/pdfio/actions/workflows/build.yml)
[](https://scan.coverity.com/projects/michaelrsweet-pdfio)
PDFio is a simple C library for reading and writing PDF files. The primary
goals of PDFio are:
- Read and write any version of PDF file
- Provide access to pages, objects, and streams within a PDF file
- Support reading and writing of encrypted PDF files
- Extract or embed useful metadata (author, creator, page information, etc.)
- "Filter" PDF files, for example to extract a range of pages or to embed fonts
that are missing from a PDF
- Provide access to objects used for each page
PDFio is *not* concerned with rendering or viewing a PDF file, although a PDF
RIP or viewer could be written using it.
Copyright © 2021-2026 by Michael R Sweet. PDFio is licensed under the Apache
License Version 2.0 with an (optional) exception to allow linking against GNU
GPL2-only software. See the files `LICENSE` and `NOTICE` for more information.
Reading the Documentation
-------------------------
Initial documentation to get you started is provided in the root directory of
the PDFio sources:
- `CHANGES.md`: A list of changes for each release of PDFio.
- `CODE_OF_CONDUCT.md`: Code of conduct for the project.
- `CONTRIBUTING.md`: Guidelines for contributing to the project.
- `INSTALL.md`: Instructions for building, testing, and installing PDFio.
- `LICENSE`: The PDFio license agreement (Apache 2.0).
- `NOTICE`: Copyright notices and exceptions to the PDFio license agreement.
- `README.md`: This file.
- `SECURITY.md`: How (and when) to report security issues.
You will find the PDFio documentation in HTML, EPUB, and man formats in the
`doc` directory.
Examples can be found in the `examples` directory.
*Please read the documentation before asking questions.*