Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

PDFio is a simple C library for reading and writing PDF files.

License

NotificationsYou must be signed in to change notification settings

michaelrsweet/pdfio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

VersionApache 2.0Build StatusCoverity Scan Status

PDFio is a simple C library for reading and writing PDF files. The primarygoals 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 fontsthat are missing from a PDF
  • Provide access to objects used for each page

PDFio isnot concerned with rendering or viewing a PDF file, although a PDFRIP or viewer could be written using it.

Requirements

PDFio requires the following to build the software:

  • A C99 compiler such as Clang, GCC, or MS Visual C
  • A POSIX-compliantmake program
  • ZLIB (https://www.zlib.net) 1.1 or higher

IDE files for Xcode (macOS/iOS) and Visual Studio (Windows) are also provided.

Documentation

See the man page (pdfio.3) and full HTML documentation (pdfio.html) forinformation on using PDFio.

Installing PDFio

PDFio uses a configure script on Unix systems to generate a makefile:

./configure

If you want a shared library, run:

./configure --enable-shared

The default installation location is "/usr/local". Pass the--prefix optionto make to install it to another location:

./configure --prefix=/some/other/directory

Once configured, run the following to make the library:

make all

To test it, run:

make test

To install it, run:

sudo make install

Visual Studio Project

The Visual Studio solution ("pdfio.sln") is provided for Windows developers andgenerates the PDFIO1 DLL. You can also use NuGet to install thepdfio_nativepackage.

Xcode Project

There is also an Xcode project ("pdfio.xcodeproj") you can use on macOS whichgenerates a static library that will be installed under "/usr/local" with:

sudo xcodebuild install

Legal Stuff

PDFio is Copyright © 2021-2025 by Michael R Sweet.

This software is licensed under the Apache License Version 2.0 with an(optional) exception to allow linking against GPL2/LGPL2 software. See thefiles "LICENSE" and "NOTICE" for more information.


[8]ページ先頭

©2009-2025 Movatter.jp