1153 Commits

Author SHA1 Message Date
Gunnsteinn Hall
9345926745 Handle annotations with missing subtype as generic #43 2017-04-24 18:18:46 +00:00
Gunnsteinn Hall
57e576344c Annotations fix
https://github.com/unidoc/unidoc/issues/41
2017-04-21 12:08:58 +00:00
Gunnsteinn Hall
f36575d3e4 Expanded support for forms, refactoring. 2017-04-19 12:05:20 +00:00
Gunnsteinn Hall
784a60e42b Encoding fixes for images
Support avg, paeth predictors for decoding. Special error flag for
unsupported error parameters. Support specifying encoder when creating
new image objects (inline,xobject).
2017-04-19 11:46:53 +00:00
Gunnsteinn Hall
3448bd10d3 Fix Coords length bug for shading type 3 2017-04-19 03:22:41 +00:00
Peter Williams
1054558112 Merge branch 'up_v2_dev' of https://github.com/peterwilliams97/unidoc into up_v2_dev 2017-04-18 16:25:54 +10:00
Peter Williams
ecc9964df6 start predictor > 11 2017-04-18 16:20:25 +10:00
Peter Williams
a9c2a01404 Merge branch 'v2' of https://github.com/unidoc/unidoc into up_v2_dev 2017-04-18 16:14:38 +10:00
Peter Williams
57fcc5bd6f Merge branch 'v2' of https://github.com/unidoc/unidoc into up_v2_dev
* 'v2' of https://github.com/unidoc/unidoc:
  annotation fixes for circle, rectangle (fill, stroke)
  Annotations support for rectangle and ellipses with appearance stream in annotator.
  Create rectangle annotation with appearance stream
  Fixes in inline image parsing and outputting.
2017-04-13 14:09:09 +10:00
Peter Williams
d7be8391f7 Peter style logging 2017-04-13 14:08:58 +10:00
Gunnsteinn Hall
82d91844d1 annotation fixes for circle, rectangle (fill, stroke) 2017-04-12 22:26:12 +00:00
Gunnsteinn Hall
89b36f338b Annotations support for rectangle and ellipses with appearance stream in annotator. 2017-04-12 21:37:20 +00:00
Gunnsteinn Hall
3297004174 Create rectangle annotation with appearance stream 2017-04-12 12:31:05 +00:00
Gunnsteinn Hall
80c33cc810 Fixes in inline image parsing and outputting. 2017-04-12 11:21:32 +00:00
Peter Williams
38d9bd73ef Merge branch 'v2' of https://github.com/unidoc/unidoc into up_v2_dev
* 'v2' of https://github.com/unidoc/unidoc:
  Coordinate system fix for line annotation (global vs local Form vs Page)
2017-04-10 14:55:23 +10:00
Gunnsteinn Hall
c46182f63c Coordinate system fix for line annotation (global vs local Form vs Page) 2017-04-10 01:04:00 +00:00
Peter Williams
5346651d7c Merge branch 'v2' of https://github.com/unidoc/unidoc into up_v2_dev
* 'v2' of https://github.com/unidoc/unidoc:
  Initial prototype for annotator and draw packages for creating annotations and drawing paths for content stream creation.
  Allow shadings to be defined inline (direct dictionary object)
2017-04-10 10:19:27 +10:00
Gunnsteinn Hall
88d1f6283f Initial prototype for annotator and draw packages for creating annotations and drawing paths for content stream creation. 2017-04-09 16:49:15 +00:00
Gunnsteinn Hall
39f392f5ea Allow shadings to be defined inline (direct dictionary object) 2017-04-07 16:32:32 +00:00
Peter Williams
e16c3e5222 Merge branch 'v2' of https://github.com/unidoc/unidoc into up_v2_dev 2017-04-06 15:54:30 +10:00
Peter Williams
ff7dbe17e9 Handle indirect Xobjects 2017-04-06 11:59:32 +10:00
Gunnsteinn Hall
e3c90b85b7 Cleaning up comments etc. 2017-04-05 18:05:38 +00:00
Gunnsteinn Hall
4d6d6b4b24 update version to 2.0.0-alpha.4 2017-04-04 12:45:01 +00:00
Gunnsteinn Hall
9c2dd082ab Fixes for resource and stream handling for Form Objects. 2017-04-04 12:09:26 +00:00
Gunnsteinn Hall
ce836c6f71 Support for Pattern, Shading objects. Various fixes and enhancements. 2017-04-04 05:51:58 +00:00
Gunnsteinn Hall
a1d15f3838 Add core support for creating PDF content via content streams 2017-04-02 18:48:40 +00:00
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