Commit Graph

1156 Commits

Author SHA1 Message Date
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
Eliot Jones
72db3bf244
Merge pull request #351 from plaisted/master
AddPage fixes for streams and page dict inheritance
2021-08-04 07:52:22 -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
Eliot Jones
8163163dfc Merge branch 'master' of github.com:UglyToad/PdfPig into master 2021-06-10 16:03:31 -04:00
Eliot Jones
ea4889778d support specifying number of documents for console runner 2021-06-02 13:45:12 -04:00
Eliot Jones
672e665d44
Merge pull request #332 from kasperdaff/xplat-unit-tests
Make unit tests behave cross platform
2021-06-02 07:21:25 -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
e353fc69e8 ignore console runner launchsettings
since the console runner is used to run through a test directory stored
locally its value will be different for each developer. we'll ignore it
to avoid it getting committed accidentally
2021-05-30 13:20:55 -04: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
Eliot Jones
beedb96326
Merge pull request #328 from d-franklin/master
Fixes null reference exception
2021-05-15 12:21:59 -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
Eliot Jones
a85bcb4ec1
Merge pull request #324 from kasperdaff/ccitt-fax-filter
Port of PDFBox's CCITTFaxFilter
2021-05-09 11:52:46 -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
Eliot Jones
45efdf3699
Merge pull request #323 from kasperdaff/unpack-indices
Improves support for indexed colorspace images.
2021-05-05 16:06:59 -04:00
Kasper Frank
c285c567e8 Fixes compiler error 2021-05-05 11:35:39 +02:00
Kasper Frank
bd968ff074 Improves support for indexed colorspace images. Also adds rudimentary unit tests of PngFromPdfImageFactory. 2021-05-05 11:14:52 +02:00
Wesley Moret
268947fb5e
Allow to have a metadata stream in the document information entry (#322) 2021-05-01 11:44:56 -04:00
Eliot Jones
d7f7fb5fd0
Merge pull request #321 from UglyToad/decrypted-string-encoding-support
correctly detect encrypted string encoding when decrypting #313
2021-04-30 13:29:51 -04:00
Eliot Jones
c7c4adf441 correctly detect encrypted string encoding when decrypting #313 2021-04-30 10:22:50 -04:00
Eliot Jones
c2f2916c04
Merge pull request #318 from kasperdaff/indexed-color-space-table-in-string-token
The palette of an indexed color space can be stored in a StringToken
2021-04-29 06:55:36 -04:00
Kasper Frank
b225033916 The palette of an indexed color space can be stored in a StringToken 2021-04-29 10:23:15 +02:00
Eliot Jones
d1a6debfb6
Merge pull request #316 from kasperdaff/master
CMYK has four color components
2021-04-26 09:24:32 -04:00
Kasper Frank
e26a95a337 CMYK has four color components 2021-04-26 14:58:07 +02:00
Eliot Jones
9ae0a5ec15 allow stream filters to contain indirect references to name tokens 2021-04-25 16:22:22 -04:00
Eliot Jones
c74ca5fda8
Merge pull request #312 from Poltuu/null_token
fix null token handling in document creation
2021-04-02 12:06:41 -04:00