Closed Bug 967278 Opened 11 years ago Closed 4 months ago

Support downscaling at the same time as decoding in PNG/JPEG

Categories

(Core :: Graphics: ImageLib, defect)

x86
macOS
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jrmuizel, Assigned: jrmuizel)

References

Details

WebKit added support for something like this in https://bugs.webkit.org/show_bug.cgi?id=28308 The approach they use is to have a table that maps from destination buffer locations to source rows. This isn't great because it only gives NEAREST filtering and the extra table lookup doesn't help for speed. We should instead come up with an approach that does a proper bilinear scale.
Is this the approach we should use to deal with bug 854795? Should we first do what WebKit does, then improve it?
See Also: → 854795
(In reply to Milan Sreckovic [:milan] from comment #1) > Is this the approach we should use to deal with bug 854795? Should we first > do what WebKit does, then improve it? Yes, this is the backend step to bug 854795. I don't think what WebKit does is shippable. From what I can tell it was only ever used by Torchmobile presumably in the Blackberry browser. They recently removed this code from Blink.
Blocks: 854795
Assignee: nobody → jmuizelaar
Severity: normal → S3

We did this elsewhere.

Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.