unipdf
unipdf copied to clipboard
Golang PDF library for creating and processing PDF files (pure go)
Images with only 2 values (min/max) are suitable for encoding with CCITTFaxDecode and JBIG2 (when encoding support is ready). Add a flag `BinaryImageOptimization = true` by default which looks at...
The CCITTFaxDecode filter (and JBIG2 which is under development) is particularly well suited for encoding binary images (0/1). Images for optimization that are binary (DeviceGray and/or BitsPerComponent 1) should be...
Currently the colorspace handling only supports `DeviceGray` and `DeviceRGB` and the handling is simplistic only looping through the images in XObject and compressing all of those. If any image was...
Based on discussion in #441. The proposal is to create a buffered reader type which encapsulates a ReadSeeker and a buffered Reder (bufio.Reader). Rather than accessing and working with both...
**Is your feature request related to a problem? Please describe.** For layering images, masks are necessary. **Describe the solution you'd like** It should be possible to set a mask for...
**Is your feature request related to a problem? Please describe.** The use case is to load an SVG vectorized graphic and display as a vectorized graphic in PDF. SVG is...
**Is your feature request related to a problem? Please describe.** contentstream parsing can be pretty slow and profiling has revealed a lot of time spent in the basic parsing functions...
**Is your feature request related to a problem? Please describe.** Currently extraction only supports processing pages one by one. It might be more efficient to use multiple go-routines to handle...
## Description When rendering the attached PDF there is an error. Problem seems to be lack of support for rendering Type 3 fonts. Type 3 fonts have glyphs stored as...
The `IdentityEncoder` is used to represent `Identity-H` and `Identity-V` encodings, that are used to map 2-byte character codes to 2-byte CIDs: ``` The horizontal identity mapping for 2-byte CIDs; may...