This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Support for GIF images in PDFKit (WIP)#7
Draft
DuncanMacWeb wants to merge 54 commits intoreact-pdf:masterfrom
Draft
Support for GIF images in PDFKit (WIP)#7DuncanMacWeb wants to merge 54 commits intoreact-pdf:masterfrom
DuncanMacWeb wants to merge 54 commits intoreact-pdf:masterfrom
Conversation
Outline support by @alexvdev and @blforce Close foliojs#216, close foliojs#13
Fix long-running loop This can be caused by having text with a huge number of spaces.
This causes \n characters to be displayed more consistently.
Add initial PDFReference specs
Implement encryption and access privileges
Complete coffee -> JS conversion
…relative paths accordingly
…rent runs or systems
…un only integration tests
Improve tests structure
Load src files directly allowing to test without build step and test isolated classes
Separate tests into two categories: unit and integration
Allow to use ES modules in tests
Ensure test output is the same across different runs / systems
Remove setTimeout call in PDFReference.finalize
Use property getter to define PDFPage lazy dictionaries
Use sync version of zlib deflate method to compress png images
Fix transparent grayscale png
Fix 16bit png files with alpha channel
Signed-off-by: Ry Jones <ry@linux.com>
Author
|
I am considering if it’s possible to extract the LZW data from the GIF and embed it directly without decompressing the source image data, using the (possibly using mathatan/gifuct-js) |
…/gifuct-js subrepo: subdir: "lib/image/gifuct-js" merged: "961f796" upstream: origin: "https://github.com/mathatan/gifuct-js.git" branch: "master" commit: "961f796" git-subrepo: version: "0.4.0" origin: "https://github.com/ingydotnet/git-subrepo" commit: "5d6aba9"
83489c1 to
58f8e1f
Compare
added 2 commits
March 27, 2019 11:45
…arser.git lib/image/js-binary-schema-parser subrepo: subdir: "lib/image/js-binary-schema-parser" merged: "7169e72" upstream: origin: "https://github.com/matt-way/jsBinarySchemaParser.git" branch: "master" commit: "7169e72" git-subrepo: version: "0.4.0" origin: "https://github.com/ingydotnet/git-subrepo" commit: "5d6aba9"
58f8e1f to
0ef714f
Compare
Author
|
@diegomura is there a trick in getting PDFkit to build? What commands do you have to run? I’m running into errors locating base64-ified fonts:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This supports diegomura/react-pdf#507.