Skip to content

Commit

Permalink
DOC: PDF feature/version support (py-pdf#816)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinThoma authored and VictorCarlquist committed Apr 29, 2022
1 parent a65b410 commit 17c4648
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/github-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,14 @@ name: CI
on:
push:
branches: [ main ]
paths-ignore:
- '**/*.md'
- '**/*.rst'
pull_request:
branches: [ main ]
paths-ignore:
- '**/*.md'
- '**/*.rst'

jobs:
tests:
Expand Down
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ You can contribute to `PyPDF2 on Github <https://github.com/py-pdf/PyPDF2>`_.
user/forms
user/streaming-data
user/file-size
user/pdf-version-support


.. toctree::
Expand Down
32 changes: 32 additions & 0 deletions docs/user/pdf-version-support.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# PDF Version Support

PDF comes in the following versions:

* 1993: 1.0
* 1994: 1.1
* 1996: 1.2
* 1999: 1.3
* 2001: 1.4
* 2003: 1.5
* 2004: 1.6
* 2006 - 2012: 1.7, ISO 32000-1:2008
* 2017: 2.0

The general format didn't change, but new features got added. It can be that
PyPDF2 can do the operations you want on PDF 2.0 files without fully supporting
all features of PDF 2.0.

## PDF Feature Support by PyPDF2

| Feature | PDF-Version | PyPDF2 Support |
| --------------------------------------- | ----------- | -------------- |
| Transparent Graphics | 1.4 | ? |
| CMaps | 1.4 |[#201](https://github.com/py-pdf/PyPDF2/pull/201), [#464](https://github.com/py-pdf/PyPDF2/pull/464), [#805](https://github.com/py-pdf/PyPDF2/pull/805) |
| Object Streams | 1.5 | ? |
| Cross-reference Streams | 1.5 | ? |
| Optional Content Groups (OCGs) - Layers | 1.5 | ? |
| Content Stream Compression | 1.5 | ? |
| AES Encryption | 1.6 |[#749](https://github.com/py-pdf/PyPDF2/pull/749) |

See [History of PDF](https://en.wikipedia.org/wiki/History_of_PDF) for more
features.

0 comments on commit 17c4648

Please sign in to comment.