Closed
Bug 78567
Opened 24 years ago
Closed 24 years ago
storing GIF images in paletted format
Categories
(Core :: Graphics: ImageLib, defect)
Tracking
()
People
(Reporter: cathleennscp, Assigned: saari)
References
Details
Comment 1•24 years ago
|
||
Good idea, but... remember that there are some
correctness gotchas for animated GIFs:
1) Palette can be per-frame, not just per-image
2) If you're caching composite frames then you may
need to promote the buffer to raw RGB because IIRC
the GIF specs permit the superimposition of two
differently-paletted frames onto a single GIF 'screen'.
I can probably provide/contrive examples of the above.
| Assignee | ||
Comment 2•24 years ago
|
||
No need to contrive examples, I have some already out in the wild that do
palette switching. But just the composite frame would need to be in full color
depth of the hardware it is running on.
And I have a dup of this: 73624
*** This bug has been marked as a duplicate of 73624 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Comment 4•24 years ago
|
||
If this is really a dup of 73624 then I misunderstood
this bug (and hey, this is where a meaningful description
in the initial bug submission would have helped).
I took this bug to mean: cache 8-bit-deep unpacked
image data in the original 8-bit form instead of
24-bit or display depth (where display depth > 8-bit)
format, to ease the raw image cache's pain (since it
was in an image-cache-inefficiency discussion that I saw
this bug number cited).
| Assignee | ||
Comment 5•24 years ago
|
||
Yes, that is the solution for both bugs really. Okay, technically, they're
different issues, memory vs. speed, but the solution is the same from my
perspective.
You need to log in
before you can comment on or make changes to this bug.
Description
•