Eliot Jones
124f54119e
#405 allow user access permissions in encryption to be bigger than int
2022-01-10 21:00:33 +00:00
Eliot Jones
a538aaf0de
bump version so that nightly builds for pre-release have correct version
2022-01-10 12:40:47 +00:00
Eliot Jones
a57e5f39ad
Merge pull request #401 from plaisted/master
...
adjust string serialization to handle raw byte data properly
2021-12-30 12:22:08 +00:00
Michael Plaisted
2146466a9a
add extra hex char
2021-12-22 13:23:41 -06:00
Michael Plaisted
8834bff378
Revert "extra non printable char" due to github changing new lines
...
This reverts commit 1f6ecd7ab4 .
2021-12-22 13:22:03 -06:00
Michael Plaisted
1f6ecd7ab4
extra non printable char
2021-12-22 12:36:53 -06:00
Michael Plaisted
437ad17c76
fix comment typo
2021-12-21 20:18:25 -06:00
Michael Plaisted
6b92a099b5
adjust string serialization to handle raw byte data properly
2021-12-21 20:17:03 -06:00
davmarksman
b3ace45e96
PageXmlTextExporter: ensure no coords on the page boundaries #399
2021-12-19 15:21:15 +00:00
BobLD
7ba28d2b56
Clean DocstrumBoundingBoxes and make relevant static methods public. Add tests. #376
2021-10-24 11:44:24 +01:00
Osman Tunçelli
eaf0c5da6e
PDF/A-1 doesn't allow transparency.
2021-09-28 04:51:37 +03:00
Eliot Jones
4c36f84a0d
version 0.1.5
2021-09-17 11:16:43 -04:00
Michael Plaisted
79b26bb434
- strip link annotations to avoid corrupt links to non-existant pages
...
- fix issue with acrobat not liking same content stream on multiple pages
2021-08-22 18:06:09 -05:00
romain v
47a0a62eee
\r only in token scanner
...
An edge case was lost with this commit 31ca3640d2
when scanner is only followed by \r (without \n)
2021-08-17 16:14:59 +02:00
Eliot Jones
c77e2f7952
port png transparency fixes from biggustave changes #346
2021-08-14 14:47:23 -04:00
Eliot Jones
53471207df
normalize line endings in ccitt file
2021-08-11 21:12:35 -04:00
Eliot Jones
1b472f6992
handle messed up numbers in content #355
2021-08-11 20:56:06 -04:00
Eliot Jones
a3e316958a
try handling malformed operators where operands are not provided #355
2021-08-08 11:36:43 -04:00
Eliot Jones
2df5ec9b10
handle transparency when adding pdfs in builder #345 #346
2021-08-07 13:49:01 -04:00
Eliot Jones
dd95b38345
handle case where xref has multiple parts with incorrect offset #352
2021-08-06 19:47:54 -04:00
Michael Plaisted
73b7bb61bc
AddPage fixes for streams incorrectly being copied to page dict, add inheritance for media/crop box and rotation
2021-08-02 11:17:49 -05:00
InusualZ
35761adf64
DirectObjectFinder: Throwing exception print the token name that we got
2021-06-27 15:02:20 -04:00
InusualZ
31ca3640d2
Tolerate any white-space bytes after the stream operator.
2021-06-27 15:02:20 -04:00
Eliot Jones
b3a361e2f2
performance tweak and test case for #334
2021-06-10 16:31:16 -04:00
Kasper Frank
1ea412179f
Make unit tests behave cross platform
2021-06-02 11:07:51 +02:00
Eliot Jones
14276d5d16
Merge pull request #331 from kasperdaff/various-image-fixes
...
Various image related fixes and ICCBased (limited), CalGray and CalRGB color spaces support
2021-06-01 08:14:49 -04:00
Kasper Frank
6649a69380
Use scanner for resolving indirect refs when obtaining DictionaryToken values.
2021-05-30 21:58:36 +02:00
Eliot Jones
3869bbb786
Merge pull request #327 from kasperdaff/decodeparm-fix
...
DecodeParameterResolver looks in the wrong array when retrieving filter parameters
2021-05-30 12:24:56 -04:00
Kasper Frank
da821e27e1
Add support for CalGray and CalRGB colorspaces
2021-05-30 14:07:41 +02:00
Kasper Frank
2fa003730a
Add (limited) support for the ICCBased color space
2021-05-27 13:01:51 +02:00
Kasper Frank
a56be02cfd
General support for extraction of images with BitsPerComponent < 8
2021-05-27 13:01:51 +02:00
Kasper Frank
92a00782bf
Add support for named color spaces and indirect references when parsing ColorSpaceDetails
2021-05-27 13:01:51 +02:00
Kasper Frank
449f16edd7
Expose ImageDictionary through IPdfImage to make available when working with InlineImage(s).
2021-05-27 13:01:51 +02:00
Kasper Frank
6fa223c0db
Image data might contain trailing EOL marker
2021-05-27 13:01:51 +02:00
Kasper Frank
07823c8b34
Look for ColorSpace shortname (cs) when parsing colorspace details
2021-05-27 13:01:51 +02:00
Eliot Jones
636936330a
Merge pull request #326 from kasperdaff/ccitt-fax-filter-fixes
...
Fixes for recent CCITT Fax Filter implementation
2021-05-15 12:26:02 -04:00
Daniel Franklin
e49de04c77
Fixes null reference exception
2021-05-12 01:28:09 +07:00
Kasper Frank
21bac62b95
Look in the correct array when resolving decode parameters
2021-05-10 11:58:42 +02:00
Kasper Frank
9f6dd5375d
DecodeParms might be an indirect reference
2021-05-10 09:01:57 +02:00
Eliot Jones
16d26effc5
0.1.5-alpha002
2021-05-09 13:05:54 -04:00
Eliot Jones
97e831c321
handle narrow whitespaces in default text extractor #319
...
where the gap is small but much larger than all previous gaps at this
font size (and still larger than some minimum threshold) then break
the word at this gap boundary.
2021-05-09 12:59:53 -04:00
Kasper Frank
30039aa6d3
Decode fix for CCITTFax Group 3 (1 dimensional version)
2021-05-09 18:45:26 +02:00
Eliot Jones
264cf7b8a8
fix write token for paint shading #325
2021-05-09 12:33:22 -04:00
Eliot Jones
421dd74840
fix bug in encryption handler. couple of code style tweaks
2021-05-09 12:31:51 -04:00
Kasper Frank
eaba3d1c6c
CCITT Fax doesn't have to be image masks
2021-05-07 14:19:42 +02:00
Kasper Frank
65a4c141ba
Consolidate DictionaryToken extension methods
2021-05-07 12:55:36 +02:00
Kasper Frank
f8990a79b8
Add indexed color space for stencils
2021-05-07 12:37:02 +02:00
Kasper Frank
8c6f705d2a
Basic unit tests of CCITT Fax filter decoding
2021-05-07 08:29:47 +02:00
Kasper Frank
9c2cd89de4
Add support for the CCITTFaxDecode filter
2021-05-07 08:29:46 +02:00
Kasper Frank
c285c567e8
Fixes compiler error
2021-05-05 11:35:39 +02:00