mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
4daa9aeb57
This adds checking for all tags where ICCProfile can parse the type. Over time, more of this needs implementing -- at least lut8Type, lut16Type, lutAToBType, and lutBToAType, since these are used by required tags. What _is_ checked for the most part matches the spec, but it's possible that the spec text is aspirational and that profiles in the wild don't fully match it. I've run the current checks against these profiles: find \ ~/src/Compact-ICC-Profiles \ /{System/,}Library/ColorSync \ -name '*.icc' \ -exec echo {} \; \ -exec Build/lagom/icc {} \; ...and against 3 hand-selected icc files I locally extracted from jpegs. This identified 3 cases where the spec text is too strict for reality. I added comments for these for now. Eventually, I'd like to try to still enforce these types, and have a profile-id-based quirks list for which they aren't enforced. It's possible that that won't be feasible, but it's probably better to start out to strict and then relax over time than the other way round. |
||
---|---|---|
.. | ||
Applets | ||
Applications | ||
BuggieBox | ||
Demos | ||
DevTools | ||
DynamicLoader | ||
Games | ||
Libraries | ||
Services | ||
Shell | ||
Utilities | ||
CMakeLists.txt |