Gunnsteinn Hall
b0479f6914
add constructors for more annotation types
2017-03-31 22:45:11 +00:00
Gunnsteinn Hall
90caacec66
Improved crypto handling for encrypt dicts with references
2017-03-29 15:54:50 +00:00
Gunnsteinn Hall
698dbe3168
Merge pull request #39 from peterwilliams97/up_v2_dev
...
Up v2 dev - Fixes in colorspace and content stream handling
2017-03-29 11:04:33 +00:00
Peter Williams
5e0baec137
Parse floating point numbers correctly in content streams e.g. .1 .1 .2 RG
2017-03-29 17:31:46 +11:00
Peter Williams
4db1306daf
Allow variable number of Ranges in ICC color spaces
2017-03-29 16:46:43 +11:00
Peter Williams
2d1c5ae1b0
removed unused dependency
2017-03-29 16:02:47 +11:00
Gunnsteinn Hall
ec5ad27789
Minor fixes, initial interface for creating new annotations.
2017-03-24 11:31:20 +00:00
Gunnsteinn Hall
a40fc446bd
Bump version to 2.0.0-alpha.3
2017-03-15 13:01:20 +00:00
Gunnsteinn Hall
8ae4f6a63a
Initial implementation of a simple graphics state handler / content stream processor. Multiple changes and fixes in colorspace handling. And more.
2017-03-14 13:04:51 +00:00
Gunnsteinn Hall
915a9c240d
check if inline image params set when writing out
2017-03-09 13:09:16 +00:00
Gunnsteinn Hall
94ba6a8f4f
Inline image fixes; image mask; sampling change: pad with 0s if missing data
2017-03-09 12:56:27 +00:00
Gunnsteinn Hall
0e56876030
Repair for broken pdfs with too long stream lengths
2017-03-08 19:59:29 +00:00
Gunnsteinn Hall
5e2931f493
Fix predictor handling for LZW too
2017-03-08 16:56:29 +00:00
Gunnsteinn Hall
c2ff40c564
Simple function to get encryption information; cleanup
2017-03-08 16:54:40 +00:00
Gunnsteinn Hall
c12af8b3d2
Added basic compress function for XObject images
2017-03-08 16:52:37 +00:00
Gunnsteinn Hall
063024e7bb
Image handler keeps entire image in buffer, not encoded version
2017-03-08 16:50:34 +00:00
Gunnsteinn Hall
1d85d876fc
Minor fixes in annotation handling
2017-03-08 16:49:23 +00:00
Gunnsteinn Hall
fa47660fc6
Predictor encoding handling fix
2017-03-08 16:48:40 +00:00
Gunnsteinn Hall
74c0da0ad7
Part of last commit
2017-03-05 22:42:30 +00:00
Gunnsteinn Hall
ae934afa19
Fixes in CMYK colorspace handling
...
Some workaround for JPEG CMYK data (inversion), needs more testing
2017-03-05 22:41:38 +00:00
Gunnsteinn Hall
5f664c427a
Separation colorspace fix, function type 0 fix
2017-03-04 22:18:34 +00:00
Gunnsteinn Hall
61bcb5ad5f
Fixes in some colorspace handling for images. Improved XObject form handling.
2017-03-04 17:27:23 +00:00
Gunnsteinn Hall
4374efe8f7
Fix issue when form field pointing to null object (or non existing)
2017-03-02 18:07:08 +00:00
Gunnsteinn Hall
6516adddc4
Cleaning up logging, more debug -> trace log level
2017-03-02 18:06:32 +00:00
Gunnsteinn Hall
7d13be2991
Update README.md
2017-03-02 18:04:10 +00:00
Gunnsteinn Hall
4cdefed7a1
Update README.md
2017-03-02 16:31:17 +00:00
Gunnsteinn Hall
79655b0b0d
Fix Pattern CS loading when has underlying cs
2017-03-02 14:16:22 +00:00
Gunnsteinn Hall
e8c0a4be98
Export trailer dict from reader
2017-03-02 12:50:45 +00:00
Gunnsteinn Hall
8b2146ea10
Use page dict from original dict in Page objects.
2017-03-02 12:50:18 +00:00
Gunnsteinn Hall
c599f8decc
Fix package comments
2017-03-02 12:49:42 +00:00
Gunnsteinn Hall
8a5ae9164a
Fix encoder order in MultiEncoder
2017-03-02 12:49:25 +00:00
Gunnsteinn Hall
4aa6845e27
Refactored contentstream into a separate package.
2017-03-01 16:02:53 +00:00
Gunnsteinn Hall
9247f5d954
Add Trace log level and change Debug to Trace where appropriate. Add log levels to Console logger.
2017-02-28 12:16:46 +00:00
Gunnsteinn Hall
d1c37e285d
Convenience function to get all content streams as one for a page
2017-02-28 08:59:17 +00:00
Gunnsteinn Hall
f1ada05914
Support parsing and getting the actual version number and changing the output PDF version
2017-02-28 08:58:50 +00:00
Gunnsteinn Hall
3a6a4bea52
Support flate encoding with predictor 11
2017-02-28 08:58:14 +00:00
Gunnsteinn Hall
445d670f0c
Fixes in image and colorspace handling.
...
DCTDecode filter implemented in core/encoding.go. Various fixes here
and there.
2017-02-24 17:38:41 +00:00
Gunnsteinn Hall
b4c259460c
Implemented ASCII85Decode filter
2017-02-23 15:25:23 +00:00
Gunnsteinn Hall
b8a3ec7180
Initial colorspace and functions support.
...
Implementation of ps parser for function type 4. Function type 3 not
implemented yet and type 0 needs a better interpolation. Functions and
colorspaces need more testing.
2017-02-22 21:10:57 +00:00
Gunnsteinn Hall
80fa077d15
1) Fix trailer dict parsing bug, 2) Get Read/Write OCProps, 3) Read/Write Page Resource Properties
2017-02-15 14:21:20 +00:00
Gunnsteinn Hall
5566df5057
Add multi encoding support (serial) and basic test case. Added line numbers to logs.
2017-02-13 20:35:42 +00:00
Gunnsteinn Hall
0e533ed292
Refactored encoding and stream support with interfaces. Added encoding support and encoding content streams for PDF generation.
2017-02-13 15:30:36 +00:00
Gunnsteinn Hall
f6ffa2aa33
Support for LZW stream decoding. Support for content streams with inline images.
2017-02-12 21:37:07 +00:00
Alfred Hall
ee467ad5fa
Update README.md
2017-02-09 15:04:48 +00:00
Gunnsteinn Hall
25cb4ac6ff
Make less strict for parsing annotation type
...
Report the incompatibility but not cause an error
2017-01-14 18:52:45 +00:00
Gunnsteinn Hall
d964f9cff7
Support comments in content streams
2017-01-12 20:08:55 +00:00
Gunnsteinn Hall
765c30efa4
Fix bug with comments within indirect objects
...
Add some more debugs which can be helpful for troubleshooting
problematic pdf files
2017-01-12 12:23:28 +00:00
Gunnsteinn Hall
4693588a5f
Fix for stream delimiting
2017-01-09 22:00:26 +00:00
Gunnsteinn Hall
2f9b8e3828
Change printfs to debug logging
2017-01-09 14:12:23 +00:00
Gunnsteinn Hall
8241793137
fix read
2017-01-05 13:28:23 +00:00