Commit Graph

41 Commits (830acff94c95a4966489f8bb484c648fc34fceec)

Author SHA1 Message Date
Pieter Marsman 2254306a52 Update README.md batch for Continuous integration 2022-02-02 22:53:17 +01:00
Raphaël Cohen c3e3499a6b
Add support for ISO 32000-2 AES256 encryption (#614)
* feat: Add support for ISO 32000-2 AES256 encryption

* feat: Applies review suggestions
2021-09-06 22:00:23 +02:00
Eduardo Gonzalez Lopez de Murillas ea00f56ac6
Added support for Paeth PNG filter compression (predictor value = 4) (#537)
* Added support for Paeth PNG filter compression (predictor value = 4)

* Use `above` and `upper_left` as in the pseudo code

* Refactor: use variable names that are very close to the pseudo code and add pieces of the docs to show what is going on.

* Fix line length issues

* Add line about compressions to README.md

* Fix merge conflict on readme

* Fix bug in filter type Up

* Make if-else consistent

Co-authored-by: Eduardo Gonzalez Lopez de Murillas <eduardo.gonzalez@accha.nl>
Co-authored-by: Pieter Marsman <pietermarsman@gmail.com>
2021-08-26 20:53:13 +02:00
Jeremy Singer-Vine 016239c146
Fix .paint_path handling of single line segments (#530)
* Fix .paint_path handling of single line segments

- Fixes typo ("ml" should have been "mlh")

- Removes if-statement that required individual line segments to be
  strictly horizontal or vertical.

* Treat 'ml'-shape paths as lines not curves

Althoguh 'mlh' is the canonical implementation for a single line
segment, 'ml' is fairly common.

Adds tests and sample PDF.

* Fix trailing whitespace

* Fix point-extraction from Beziér path commands

This commit corrects the manner in which "pts" are extracted from Beziér
path commands. See Table 4.9 of PDF reference manual, and new comments
in code for details. Previously, depending on whether the command (c,
v, or y) the code was extracting some combination of control points (not
on curve) and the actual points-on-curve.

This commit also refactors .paint_path, so that apply_matrix_pt is only
called in one place, and to treat the "h" command in a manner more
consistent with other path commands.

* Add comments to test_paint_path_quadrilaterals

* Parse rect-forming mllll paths as rects not curves

Now that .paint_path has been refactored, adding support for
rect-forming mllll paths requires no extra code, beyond a minor tweak to
the relevant elif statement.

* One changelog line with ref to mr

* Remove PDFLayoutAnalyzer._create_curve because implementation has become trivial due to refactoring

* Extract variables from if statement to make it easier to read

* Optimize imports order

* Trigger travis build

* Revert "Trigger travis build"

This reverts commit 41c05184

* Update travis badge

* Update travis badge

Co-authored-by: Pieter Marsman <pietermarsman@gmail.com>
2021-07-27 18:27:32 +02:00
markfirmware f389b97923
Correct typo's and syntax errors from README.md (#538) 2020-11-08 16:20:10 +01:00
Pieter Marsman 875e53013a
Remove explicit support for Python 3.4 and 3.5, adding tests for python 3.9 (#522)
Closes #503
2020-10-25 12:34:51 +01:00
Pieter Marsman d04c38fb8d Add punchline to readme 2020-10-11 20:04:57 +02:00
estshorter 360b1efc0b
Deprecate Python 3.4 and 3.5 (#507) 2020-10-10 16:15:03 +02:00
typhoon71 4d8b5975cb
Add section to documentation with howto for AcroForm fields extraction (#458)
* Create aforms.rst

Add section to documentation with howto for AcroForm fields extraction

* Update index.rst

Added reference to aforms.rst

* Update aforms.rst

* Update aforms.rst

* Update index.rst

* Update and rename aforms.rst to acro_forms.rst

* Update acro_forms.rst

* Update acro_forms.rst

* Update acro_forms.rst

* Update index.rst

* Update acro_forms.rst

* Update acro_forms.rst

* Update acro_forms.rst

* Update pdfdocument.py

* Update pdfdocument.py

* Update pdfdocument.py

* Update acro_forms.rst

* Update docs/source/howto/acro_forms.rst

Co-authored-by: Jake Stockwin <jake.stockwin@optimorlabs.com>

* Update docs/source/howto/acro_forms.rst

Co-authored-by: Jake Stockwin <jake.stockwin@optimorlabs.com>

* Update docs/source/howto/acro_forms.rst

Co-authored-by: Jake Stockwin <jake.stockwin@optimorlabs.com>

* Update acro_forms.rst

* reverted changes

* Update README.md

* Proper processing of ComboBox

ComboBox fields hold multiple values, so the must be returned as a list.

* PDF with AcroForm (samples)

* Create tmp

* Delete AcroForm_TEST.pdf

* Delete AcroForm_TEST_compiled.pdf

* PDF file with AcroForms

* Delete tmp

* Fixed typo

* Update index.rst

* Update README.md

* Update index.rst

* Update pdfdocument.py

* Update docs/source/howto/acro_forms.rst

Co-authored-by: Jake Stockwin <jake.stockwin@optimorlabs.com>

* Update pdfdocument.py

* Update pdfdocument.py

* Update pdfdocument.py

Co-authored-by: Jake Stockwin <jake.stockwin@optimorlabs.com>
2020-09-10 19:18:41 +02:00
fzyzcjy a087d6dfc8
Fix typo in README.md (#388) 2020-03-14 11:00:37 +01:00
Pieter Marsman 7e91d4ec6d Improve docs and github templates 2020-03-08 15:06:13 +01:00
Pieter Marsman e4790fdbc2 Add AES as supported encryption method to docs 2020-01-07 18:38:53 +01:00
Pieter Marsman 3502dc9f3b
Drop support for legacy Python 2 (#346)
* Drop support for legacy Python 2

* Add python_requires to help pip

* Upgrade Python syntax with pyupgrade

* Upgrade Python syntax with pyupgrade --py3-plus

* Python 3 imports

* Replace six

* Update CONTRIBUTING.md

* Added line to changelog

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-01-04 16:47:07 +01:00
Pieter Marsman bc034c8e59
Create sphinx documentation for Read the Docs (#329)
Fixes #171
Fixes #199
Fixes #118
Fixes #178
Added: tests for building documentation and example code in documentation
Added: docstrings for common used functions and classes
Removed: old documentation
2019-11-07 21:12:34 +01:00
Pieter Marsman 373c6e7b97
Added: extraction of JBIG2 encoded images (#311)
And added test for pdf with JBIG2 image.

Fixes #26 
Closes #46
2019-10-22 17:37:06 +02:00
Pieter Marsman 1d3fa415b5 Remove licence from README.md because it is already in the LICENCE file 2019-10-20 14:19:18 +02:00
Tata Ganesh 127d587431
Merge pull request #227 from BackEndTea/patch-1
Remove self refference on python3
2019-07-10 23:12:30 +05:30
Pieter Marsman 2743f2b20a Add reference to contribution guidelines in README.md 2019-07-08 23:05:47 +02:00
Gert de Pagter 594321fcf6
Remove self refference on python3
This *is* the 'six' repo, so no need to mention that again in the readme
2019-02-25 16:38:46 +01:00
Tata Ganesh ac8bb81c72
DOCS: Update Readme.md 2018-06-17 22:37:32 +05:30
oculushut 46d6e571eb
Update README.md
Adds specific location for HTML file containing more information on dumppdf.py command line tool.
2017-12-20 00:23:00 +00:00
oculushut 125bae23cc
Update README.md
Adds specific location for location of html file with more information for Command Line Tools pdf2txt.py.
2017-12-20 00:20:46 +00:00
Michał Pasternak 87726d8b4f No, thank you. (#69)
* Enable 3.6 and replace pycrypto with cryptodome

* Upgrade version number

* PyPI badge; whitespace cleanup
2017-05-30 10:02:24 +02:00
Philippe Guglielmetti 11a4c8b6c1 version 20170418 2017-04-18 19:13:20 +02:00
Philippe Guglielmetti 7c96fe29ed links updated to new https://github.com/pdfminer owner 2017-01-19 08:37:53 +01:00
orangain f1d5d681b6 Include compiled cmap resources to simplify installation for CJK languages
* Run `make cmap` and `git add pdfminer/cmap`.
* Modify MANIFEST.in not to include cmaprsrc dir in the sdist package.
* Add pdfminer/cmap/README.txt to include license in the sdist package.
* Remove installation guide specific to CJK languages from README.md.
2015-12-27 13:32:29 +09:00
Goulu f577f76c52 renamed as pdfminer.six in PyPi 2014-09-15 11:10:00 +02:00
unknown 29c07ea770 Python 3.4 support and tests 2014-09-03 15:26:08 +02:00
Yusuke Shinyama 107e071508 Drop Python 2.4 support. The oldest supported version is now Python 2.6. 2014-06-25 19:28:54 +09:00
Yusuke Shinyama 2c90e6ac42 Updated: copyright year. 2014-06-14 11:29:42 +09:00
Yusuke Shinyama 9ebd6d5938 Travis-CI tweaks. 2014-06-14 11:24:45 +09:00
Yusuke Shinyama 52d96b3b67 Added a demo app url. 2014-04-05 12:26:33 +09:00
Yusuke Shinyama 9242356357 Updated the url. 2014-03-28 22:55:06 +09:00
Yusuke Shinyama b18e8c549d Version 20140327 2014-03-28 00:19:52 +09:00
meisterluk 5ca6fb9953 Fix PDFBox hyperlink. 2014-01-13 23:43:09 +01:00
Yusuke Shinyama e39e39fa12 Documentation updates. 2013-11-17 15:32:57 +09:00
Yusuke Shinyama ab5cdd8642 More TODOs. 2013-11-07 19:53:57 +09:00
Yusuke Shinyama 9ff6aa0463 Updated the document. 2013-11-05 18:25:37 +09:00
Yusuke Shinyama 96667d286f Updated documentation. 2013-10-27 00:05:26 +09:00
Yusuke Shinyama a1cae26a74 Documentation updated. 2013-10-23 00:21:03 +09:00
Yusuke Shinyama 86348eba2f Documentation updated. 2013-10-23 00:17:12 +09:00