Closed
Bug 2020626
Opened 2 months ago
Closed 2 months ago
jpeg xl decoder should target the system cms profile
Categories
(Core :: Graphics: ImageLib, enhancement)
Core
Graphics: ImageLib
Tracking
()
RESOLVED
FIXED
150 Branch
| Tracking | Status | |
|---|---|---|
| firefox150 | --- | fixed |
People
(Reporter: tnikkel, Assigned: tnikkel)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
No description provided.
| Assignee | ||
Comment 1•2 months ago
|
||
The bytes get set in content processes because that is how we send the profile to them, but the parent process wasn't saving the bytes. We want access to the bytes for the jpeg xl decoder (jxl-rs tracks color space with a rust enum that's either simple common color spaces or a vec of icc bytes) so we can get jxl-rs to target our system output profile in the case it's not sRGB.
| Assignee | ||
Comment 2•2 months ago
|
||
This tries not to create extra profiles or copies of icc bytes unless necessary. Having to pass stuff between C++ and rust makes this more annoying. This also handles the CMSMode::Off case. This turned out more finicky then I would have liked.
Pushed by tnikkel@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/36171157fad7
https://hg.mozilla.org/integration/autoland/rev/3cdba2636211
Save the CMS output profile ICC bytes in the parent process and make it available for callers. r=gfx-reviewers,lsalzman
https://github.com/mozilla-firefox/firefox/commit/64218171a702
https://hg.mozilla.org/integration/autoland/rev/d9a10538fdcc
The jpeg xl decoder should target the system CMS profile. r=saschanaz
Comment 4•2 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/3cdba2636211
https://hg.mozilla.org/mozilla-central/rev/d9a10538fdcc
Status: NEW → RESOLVED
Closed: 2 months ago
status-firefox150:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch
Updated•1 month ago
|
QA Whiteboard: [qa-triage-done-c151/b150]
You need to log in
before you can comment on or make changes to this bug.
Description
•