-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve parseAppearanceStream
to handle more "complex" ColorSpaces
#16648
Improve parseAppearanceStream
to handle more "complex" ColorSpaces
#16648
Conversation
it broke the tests |
The existing code is unable to *correctly* extract the color from the appearance-stream when the ColorSpace-data is "complex". To reproduce this: - Open `freetexts.pdf` in the viewer. - Note the purple color of the "Hello World from Preview" annotation. - Enable any of the Editors. - Note how the relevant annotation is now black.
29f77b2
to
6442a6c
Compare
From: Bot.io (Windows)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.193.163.58:8877/f90316ebbaad101/output.txt |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/3b8cb014c0ff187/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/3b8cb014c0ff187/output.txt Total script time: 25.19 mins
Image differences available at: http://54.241.84.105:8877/3b8cb014c0ff187/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/f90316ebbaad101/output.txt Total script time: 37.48 mins
Image differences available at: http://54.193.163.58:8877/f90316ebbaad101/reftest-analyzer.html#web=eq.log |
Fixed now, please re-review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool stuff, thank you.
Preview (mac) usually exports in using colorspace so it'll be useful.
The existing code is unable to correctly extract the color from the appearance-stream when the ColorSpace-data is "complex". To reproduce this:
freetexts.pdf
in the viewer.