Closed Bug 1186507 Opened 9 years ago Closed 9 years ago

Animated GIFs not hq-scaled

Categories

(Core :: Graphics: ImageLib, defect)

19 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: elbart, Unassigned)

References

()

Details

Testcase: http://jsfiddle.net/7f70xcew/5/

Seen on Imgur when hovering over image-links to open a small preview, e.g. at the bottom of http://imgur.com/gallery/oihjn0V/comment/448438264
Could you attach a screenshot of what you see, please.
Flags: needinfo?(elbart)
This is not a bug; it's by design. To HQ scale animated GIFs would either consume drastically more memory (since we wouldn't be able to store frames as deltas) or would be very costly in terms of performance (since we'd have to redo the scaling of a frame every time we wanted to paint it, and that'd have to be done on the main thread as things stand now).

I don't see us changing this decision in the near future. The most analogous case is video, and we don't HQ scale video frames either, for the same reasons.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
Flags: needinfo?(elbart)
You need to log in before you can comment on or make changes to this bug.