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
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
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
5a7469958d
Text generating operators in content creator. Some refactoring of annotator.
2017-05-24 21:43:32 +00:00
Gunnsteinn Hall
d241837196
Support [/DeviceRGB] when specified in an array. Closes #49 .
2017-05-10 20:35:40 +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
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
80c33cc810
Fixes in inline image parsing and outputting.
2017-04-12 11:21:32 +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
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
b0479f6914
add constructors for more annotation types
2017-03-31 22:45:11 +00: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
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
94ba6a8f4f
Inline image fixes; image mask; sampling change: pad with 0s if missing data
2017-03-09 12:56:27 +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
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
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
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
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
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