Aleksei Pavliukov
ea5dba8e0d
Implemented : PDFs optimization
2018-09-30 01:01:31 +03:00
Peter Williams
b1cf3494f7
Removed naked returns. Fixed godoc. Reorganized object extractors
2018-07-25 12:00:49 +10:00
Peter Williams
e886846c6a
Changes after pull request review
2018-07-24 21:32:02 +10:00
Peter Williams
502836666d
Merge remote-tracking branch 'upstream/v3' into render.v3
2018-07-21 21:20:39 +10:00
Gunnsteinn Hall
5b1b9bd504
PdfObjectArray change to struct and receivers added Elements, Get, Set, Len. Fixes to resulting broken code.
2018-07-15 17:52:53 +00:00
Gunnsteinn Hall
450aaf2d44
documentation enhancements in colorspace.go
2018-07-14 21:38:24 +00:00
Gunnsteinn Hall
14ee80e1fe
Preserve and allow output of hexadecimal strings
...
Refactored PdfObjectString into a struct with bool flag for hex. Fixed any code broken by the change.
Unexported non-essential functions for crypto (not used by model). Can unexport more later or refactor to internal package.
2018-07-14 02:25:29 +00:00
Peter Williams
e7433e4125
Clamp grayscale values to 0..1 for g operator
2018-07-06 16:29:54 +10:00
Gunnsteinn Hall
144fa3f75b
Improved CS handling with Separation, Lab color ranges.
2017-08-11 12:03:24 +00:00
Gunnsteinn Hall
50041f0a78
Support indexed cs in inline image. Fixes #113 . Fixes in lab colorspace color processing.
...
Exported NewPdfColorspaceFromPdfObject so could use it from package
content stream. Moving from dot imports.
2017-08-10 07:23:42 +00:00
Gunnsteinn Hall
e2bfa9094a
Fixing lab colorspace component input ranges. Fix Indexed cs Image to rgb conversion.
2017-08-07 20:21:35 +00:00
Peter Williams
141519790a
Fixed some bugs found while getting pdf_descibe.go to work
2017-08-04 17:47:55 +10:00
Gunnsteinn Hall
a9f70a16ac
Add check for base colorspace type when loading Indexed colorspace. Fixes #95 .
2017-08-03 14:55:06 +00:00
Gunnsteinn Hall
10c3be8c95
Change PdfObjectDictionary from map to struct and introduce ordered keys. Syntax change. Fixes all around to accommodate changes. Also fixes in test cases. Closes #56 .
2017-07-08 21:04:13 +00:00
Gunnsteinn Hall
fbff8ffdba
Prefer using Name rather than string
2017-07-02 15:51:26 +00:00
Gunnsteinn Hall
d241837196
Support [/DeviceRGB] when specified in an array. Closes #49 .
2017-05-10 20:35:40 +00:00
Gunnsteinn Hall
ce836c6f71
Support for Pattern, Shading objects. Various fixes and enhancements.
2017-04-04 05:51:58 +00:00
Peter Williams
4db1306daf
Allow variable number of Ranges in ICC color spaces
2017-03-29 16:46:43 +11: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
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
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
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