Closed Bug 78567 Opened 24 years ago Closed 24 years ago

storing GIF images in paletted format

Categories

(Core :: Graphics: ImageLib, defect)

All
Windows 98
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 73624

People

(Reporter: cathleennscp, Assigned: saari)

References

Details

Blocks: 73624
Blocks: 71668
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.
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
Verified Duplicate
Status: RESOLVED → VERIFIED
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).
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.