pdfio_native 1.0.0-b5
See the version list below for details.
dotnet add package pdfio_native --version 1.0.0-b5
NuGet\Install-Package pdfio_native -Version 1.0.0-b5
<PackageReference Include="pdfio_native" Version="1.0.0-b5" />
paket add pdfio_native --version 1.0.0-b5
#r "nuget: pdfio_native, 1.0.0-b5"
// Install pdfio_native as a Cake Addin #addin nuget:?package=pdfio_native&version=1.0.0-b5&prerelease // Install pdfio_native as a Cake Tool #tool nuget:?package=pdfio_native&version=1.0.0-b5&prerelease
pdfio - PDF Read/Write Library
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 encrypted PDF files
- Support writing PDF files with digital signatures
- 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.
Requirements
PDFio requires the following to build the software:
- A C99 compiler such as Clang, GCC, or MS Visual C
- A POSIX-compliant
make
program - ZLIB (https://www.zlib.net) 1.0 or higher
IDE files for Xcode (macOS/iOS) and Visual Studio (Windows) are also provided.
Documentation
See the man page (pdfio.3
), frequently ask questions (FAQ.md
), and full HTML
documentation (pdfio.html
) for information on using PDFio.
Installing pdfio
PDFio comes with a portable makefile that will work on any POSIX-compliant system with ZLIB installed. To make it, run:
make all
To test it, run:
make test
To install it, run:
make install
If you want a shared library, run:
make all-shared
make install-shared
The default installation location is "/usr/local". Pass the prefix
variable
to make to install it to another location:
make install prefix=/some/other/directory
The makefile installs the pdfio header to "${prefix}/include", the library to
"${prefix}/lib", the pkg-config
file to "${prefix}/lib/pkgconfig", the man
page to "${prefix}/share/man/man3", and the documentation to
"${prefix}/share/doc/pdfio".
The makefile supports the following variables that can be specified in the make command or as environment variables:
AR
: the library archiver (default "ar")ARFLAGS
: options for the library archiver (default "cr")CC
: the C compiler (default "cc")CFLAGS
: options for the C compiler (default "")CODESIGN_IDENTITY
: the identity to use when code signing the shared library on macOS (default "Developer ID")COMMONFLAGS
: options for the C compiler and linker (typically architecture and optimization options, default is "-Os -g")CPPFLAGS
: options for the C preprocessor (default "")DESTDIR
andDSTROOT
: specifies a root directory when installing (default is "", specify only one)DSOFLAGS
: options for the C compiler when linking the shared library (default "")LDFLAGS
: options for the C compiler when linking the test programs (default "")LIBS
: library options when linking the test programs (default "-lz")RANLIB
: program that generates a table-of-contents in a library (default "ranlib")prefix
: specifies the installation directory (default "/usr/local")
Visual Studio Project
The Visual Studio solution ("pdfio.sln") is provided for Windows developers and
generates the PDFIO1 DLL. You can also use NuGet to install the pdfio_native
package.
Xcode Project
There is also an Xcode project ("pdfio.xcodeproj") you can use on macOS which generates a static library that will be installed under "/usr/local" with:
sudo xcodebuild install
You can reproduce this with the makefile using:
sudo make COMMONFLAGS="-Os -mmacosx-version-min=10.14 -arch x86_64 -arch arm64" install
Legal Stuff
PDFio is Copyright © 2021 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 the files "LICENSE" and "NOTICE" for more information.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.3.2 | 114 | 10/15/2024 |
1.3.0 | 127 | 6/28/2024 |
1.2.0 | 362 | 1/24/2024 |
1.1.2 | 228 | 10/10/2023 |
1.0.1 | 518 | 4/5/2022 |
1.0.0 | 338 | 12/14/2021 |
1.0.0-b7 | 287 | 11/8/2021 |
1.0.0-b6 | 286 | 9/29/2021 |
1.0.0-b5 | 284 | 9/29/2021 |
1.0.0-b4 | 284 | 9/3/2021 |
1.0.0-b3 | 250 | 9/1/2021 |
1.0.0-b2 | 264 | 8/31/2021 |
1.0.0-b1 | 309 | 8/26/2021 |
1.0.0-b0 | 342 | 8/26/2021 |