Closed
Bug 1965813
Opened 3 months ago
Closed 3 months ago
Add the possibility to decode jpeg cmyk image coming from pdfs
Categories
(Core :: Audio/Video: Web Codecs, enhancement)
Core
Audio/Video: Web Codecs
Tracking
()
RESOLVED
FIXED
140 Branch
Tracking | Status | |
---|---|---|
firefox140 | --- | fixed |
People
(Reporter: calixte, Assigned: calixte)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
Jpeg cmyk images in pdfs have inverted channels.
There are no specific markers which could help to guess if the channels are inverted or not: the only reason why they're inverted is because the image has been embedded in a pdf.
The attached pdf contains an few cmyk jpeg images. Right now we're falling back on pure js jpeg decoder and then we have to apply a cmyk color profile on the pixels in order to get the RGBA images: it's very slow.
Assignee | ||
Comment 1•3 months ago
|
||
Updated•3 months ago
|
Assignee: nobody → cdenizet
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•3 months ago
|
||
I don't know if this is the right approach: maybe adding an option in the ImageDecoderInit dictionary would be better.
Assignee | ||
Comment 3•3 months ago
|
||
Pushed by cdenizet@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/48a758441a03
Add the possibility to decode cmyk jpeg images coming from pdf files r=aosmond,necko-reviewers,valentin
Comment 5•3 months ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
status-firefox140:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 140 Branch
Updated•3 months ago
|
QA Whiteboard: [qa-triage-done-c141/b140]
You need to log in
before you can comment on or make changes to this bug.
Description
•