Open
Bug 527081
Opened 15 years ago
Updated 2 years ago
Make handling of paletted images saner
Categories
(Core :: Graphics: ImageLib, defect)
Tracking
()
NEW
People
(Reporter: jrmuizel, Unassigned)
Details
I was talking with Joe about how we handle paletted images. It didn't sounds that good. Here's my proposal:
- Start by decoding the first frame of a GIF to a paletted memory buffer.
- If there are frames that follow:
- we know that we have an animated image that we're going to keep in paletted form.
- decode the remaining frames into paletted form.
- Otherwise we have a single frame:
- Convert from paletted to ARGB32 and discard the paletted buffer.
Comment 1•13 years ago
|
||
We still probably want this. At minimum, it will reduce the amount of memory animated GIFs use by a little bit.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•