-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Check for available icc file profiles #19975
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
base: master
Are you sure you want to change the base?
Check for available icc file profiles #19975
Conversation
a3d4b54 to
06f53c8
Compare
|
@MStraeten could you test again (all squashed in one commit) ? BTW - could you provide the profile file? |
|
issue no longer exists with this pr |
06f53c8 to
28ee35f
Compare
|
Sorry to bother you but the latest force-pushed version tests for "icc file existing" at the proper place. |
TurboGit
left a comment
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.
Thanks!
|
I'll wait for @MStraeten second testing round before merging. TIA. |
|
Very interesting. It seems the list is not correct. Will further investigate ... |
We maintain a global list of all profiles while committing params via _ioppr_generate_profile_info(). In case of icc file profiles we didn't test for the file being available and missed to return that as an error condition. We now test & log such error conditions. The colorin & colorout modules handled this "gracefully" already but since introducing the fallback to lab blending this resulted in a crash while traversing the list. While being here added info about missing matrix and nonlinearlut in the log.
If we set input,output or work profile to a icc file profile we should report if the file was not available and report that. This is only done while calculating preview pipe to avoid repeating messages.
28ee35f to
9f5cbc2
Compare
|
@TurboGit and @MStraeten Found the issue leading to crashes while traversing the list. It was basically a missing test for existance of icc files resulting in a bad list. 1st commit would be for 5.4.1 and master |
|
thats it, it properly reports the missing icc file |


While falling back to lab jzczhz blending we should check
If not, we can't do anything here and just leave out blending.
Should fix #19968
@MStraeten could you check?