311 Commits

Author SHA1 Message Date
Gunnsteinn Hall
68bd7caecc Resource functions for ExtGState 2017-07-01 22:08:51 +00:00
Gunnsteinn Hall
be629aecbf Add convenience functions in Content stream creator 2017-07-01 21:57:31 +00:00
Gunnsteinn Hall
b75541dcf8 Fix in AddContentStreamByString which had problems with certain PDFs. 2017-07-01 21:56:59 +00:00
Gunnsteinn Hall
f13acfe276 Expose Operations function 2017-06-29 13:51:22 +00:00
Gunnsteinn Hall
4b30ce1721 Capability to load a unidoc Image from a Go image. 2017-06-28 15:16:36 +00:00
Gunnsteinn Hall
9a06eec2db Improved functions to check and work with page resources. Page duplication enabled. 2017-06-28 15:15:44 +00:00
Gunnsteinn Hall
53b9e8b99c Convenience functions to create streams and indirect objects. 2017-06-28 15:14:25 +00:00
Gunnsteinn Hall
3586509908 Add functions to wrap content state (q..Q). Fix TJ.
Changes function syntax to use *ContentStreamOperations so can change
state.
2017-06-28 15:13:37 +00:00
Gunnsteinn Hall
0ab2af5952 Add alpha channel transformation (mapping) capability 2017-06-20 11:30:42 +00:00
Gunnsteinn Hall
42c36270cc Remove unnecessary name parameter when creating XObject image. 2017-06-19 16:43:17 +00:00
Gunnsteinn Hall
b7241e94fc Fix border width definition between annotation and appearance stream 2017-06-19 16:42:50 +00:00
Gunnsteinn Hall
c4c5a49d27 Annotation line drawing fix 2017-06-16 14:12:30 +00:00
Alfred Hall
213475c4dd Create CODE_OF_CONDUCT.md 2017-06-15 11:03:26 +00:00
Gunnsteinn Hall
88b714e880 Transparency fix, only requiring SMask if alpha used 2017-06-14 21:16:17 +00:00
Gunnsteinn Hall
be48e30405 Allow ExtGState loading via indirect object also 2017-06-13 11:34:53 +00:00
Gunnsteinn Hall
fc9e540889 Added support for inserting images with an alpha transparency channel. Closes #52. 2017-06-06 21:16:55 +00:00
Gunnsteinn Hall
2098361062 Fix for adding new font when font dictionary is indirect obj. 2017-06-04 12:35:34 +00:00
Gunnsteinn Hall
ef6e7bc8ff Fix minor rect rendering issue 2017-06-02 12:03:51 +00:00
Gunnsteinn Hall
057c437d1e Fix circle rendering (endings) 2017-05-29 17:39:54 +00:00
Gunnsteinn Hall
589cc78df8 Fix in hasextgstate check 2017-05-28 15:14:32 +00:00
Gunnsteinn Hall
39f8103108 Helper function to check if ExtGState name is available 2017-05-28 14:45:02 +00:00
Gunnsteinn Hall
b8ac08aaa5 Added line, rect, circle drawing routines into draw package (refactored from annotator). 2017-05-28 14:43:18 +00:00
Gunnsteinn Hall
4e678439d6 Fix in text operand TL 2017-05-26 12:28:48 +00:00
Gunnsteinn Hall
cbdd19e29c Remove unnecessary files 2017-05-24 21:55:07 +00:00
Gunnsteinn Hall
5a7469958d Text generating operators in content creator. Some refactoring of annotator. 2017-05-24 21:43:32 +00:00
Gunnsteinn Hall
36aaf59139 Add Do function to content creator 2017-05-20 14:01:44 +00:00
Gunnsteinn Hall
d241837196 Support [/DeviceRGB] when specified in an array. Closes #49. 2017-05-10 20:35:40 +00:00
Gunnsteinn Hall
a80d617bc7 Handle null filter as raw data. Closes #48. 2017-05-10 10:21:46 +00:00
Gunnsteinn Hall
5c5ad1bc14 Enhancements to tolerate more malformed PDFs. Fixes #47 2017-04-27 22:25:00 +00:00
Gunnsteinn Hall
78c6f01d03 Minor fix to allow null for colorspace entry in Resource dicts 2017-04-26 23:23:29 +00:00
Gunnsteinn Hall
3f4e84a2e4 Improved xref rebuild repair procedure. Closes #45. 2017-04-26 23:11:35 +00:00
Gunnsteinn Hall
532f564b3a EOF marker seek more forgiving #46 2017-04-26 08:53:18 +00:00
Gunnsteinn Hall
d25fa23fb0 Fix issue with unremoved AES decrypted padding bytes #44 2017-04-24 21:36:07 +00:00
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
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
Gunnsteinn Hall
c46182f63c Coordinate system fix for line annotation (global vs local Form vs Page) 2017-04-10 01:04:00 +00: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
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