-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Handle non-integer and out-of-range values correctly in Indexed color spaces #19791
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
Handle non-integer and out-of-range values correctly in Indexed color spaces #19791
Conversation
… spaces In PDF version 2.0 the handling of Indexed color spaces was clarified as follows: > The index value should be an integer in the range 0 to hival. If the value is a real number, it shall be rounded to the nearest integer (0.5 values shall be rounded up); if it is outside the range 0 to hival, it shall be adjusted to the nearest value within that range. Please refer to https://github.com/pdf-association/pdf-differences/tree/main/IndexedColor
/botio browsertest |
From: Bot.io (Linux m4)ReceivedCommand cmd_browsertest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/a8c97f4710b5daa/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_browsertest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.193.163.58:8877/1ce64f476ecdca4/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/a8c97f4710b5daa/output.txt Total script time: 16.72 mins
|
From: Bot.io (Windows)SuccessFull output at http://54.193.163.58:8877/1ce64f476ecdca4/output.txt Total script time: 29.41 mins
|
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.
LGTM. Thank you.
/botio makeref |
From: Bot.io (Windows)ReceivedCommand cmd_makeref from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.193.163.58:8877/cbf50260f0143c1/output.txt |
From: Bot.io (Linux m4)ReceivedCommand cmd_makeref from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/9fcaa4c2b19f5fd/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/9fcaa4c2b19f5fd/output.txt Total script time: 16.41 mins
|
From: Bot.io (Windows)SuccessFull output at http://54.193.163.58:8877/cbf50260f0143c1/output.txt Total script time: 29.59 mins
|
In PDF version 2.0 the handling of Indexed color spaces was clarified as follows:
Please refer to https://github.com/pdf-association/pdf-differences/tree/main/IndexedColor