Access PDF documents at their lowest level
The SetaPDF-Core component is a PHP library for low level access of PDF files.
It represents the basis of the SetaPDF product line and is part of each individual PHP component.
The main features and functionalities are:
- Reads PDF files of all available PDF versions
- Reads and writes PDF files via special reader and writer classes
- Repair mechanism for corrupted PDF files
- Reads and writes protected/encrypted PDF files (Standard and Public-key Encryption) up to AES 256bit
- Low level PDF object access
- Access to PDF metadata
- Access to viewer preferences
- Access to page objects (e.g. to count pages) and their properties like dimensions, rotation,...
- Access to pages content stream
- Access to a pages Canvas object
- Access to page labels
- Access to various annotation types (e.g. links, text, or highlight annotation)
- Access to bookmark outlines
All SetaPDF components as of version 2 are build upon this component and automatically offer its functionallities.
In Action [See all demos]
More demos are available here.
Low Level Features
Internally the PHP component offers much more functionallities used by other components:
- Optional content data (Layers)
- PDF encodings
- Standard PDF fonts
- TrueType font parser
- Image parser and handling (JPEG, PNG, JPEG2000) in pure PHP
- Color management (Grayscale, RGB, CMYK)
- Datastructure wrappers (Date, Rectangles, Name- and Number-Trees,...)
- Geometric helpers: Point, Rectangle
Examples of Usage
Some common PHP tasks of the SetaPDF-Core component:
- Count the number of pages in a PDF with PHP
- Validate page dimensions/boxes
- Validate used colors
- Read or set metadata in a PDF with PHP
- Get information about used fonts in a PDF with PHP
- Secure PDF documents with standard or public-key security with PHP
- Check a document for a PDF Portfolio or Package
Questions about SetaPDF-Core?
Do you like this product?
Then it would be awesome, if you‘d recommend it to your friends!