13 Commits

Author SHA1 Message Date
Peter Williams
e4adfd91a3 Merge branch 'master' of https://github.com/peterwilliams97/unidoc
* 'master' of https://github.com/peterwilliams97/unidoc: (50 commits)
  Fixing lab colorspace component input ranges.  Fix Indexed cs Image to rgb conversion.
  Make float parsing more like gs
  Fixed Lab bounds
  Added dummy encodings
  Added dummy encodings
  Fix PS processing of dup operand. Fixes #98.
  Check sizes for memory allocation based on pdf user inputs. Fixes #107.
  Check to avoid division by zero.  Fixes #106.
  Add GetObjectNums
  Address go vet issues
  Fix comment typo
  Fixed some bugs found while getting pdf_descibe.go to work
  Address golint recommendations in core
  Address core golint recommendations in crypt, io
  Add check for base colorspace type when loading Indexed colorspace.  Fixes #95.
  Address more golint recommendations  #89
  Checks on stated byte lengths in xref stream objects.  Closes #94.
  Address golint recommendations. Add TODO comments for recommended future refactoring work in next major release.
  Only attempt to load annotation from a valid indirect object for annotation Popup entries.  Fixes #91.
  Address godoc code block line wrapping
  ...
2018-01-11 17:43:17 +11:00
Peter Williams
141519790a Fixed some bugs found while getting pdf_descibe.go to work 2017-08-04 17:47:55 +10:00
Peter Williams
883bfefce6 Merge branch 'v2' of https://github.com/unidoc/unidoc into up_v2_dev
* 'v2' of https://github.com/unidoc/unidoc:
  Expanded support for forms, refactoring.
  Encoding fixes for images
  Fix Coords length bug for shading type 3
2017-05-03 13:38:05 +10: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
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
80c33cc810 Fixes in inline image parsing and outputting. 2017-04-12 11:21:32 +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
c2ff40c564 Simple function to get encryption information; cleanup 2017-03-08 16:54:40 +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
4aa6845e27 Refactored contentstream into a separate package. 2017-03-01 16:02:53 +00:00