Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gdk-pixbuf gdk-pixbuf
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 85
    • Issues 85
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • gdk-pixbufgdk-pixbuf
  • Merge requests
  • !31

Decompress GIF frames on demand

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Robert Ancell requested to merge robert.ancell/gdk-pixbuf:decompress-on-demand into master Dec 11, 2018
  • Overview 15
  • Commits 4
  • Pipelines 12
  • Changes 6

This branch solves the memory explosion loading large GIFs as described in #101 (closed). This requires !28 (merged) as it relies on the test cases to prove the updated code continues to work.

I ended up implementing a new LZW decoder after I tried the following:

  • Keeping the existing LZW decoder code - it had too much spaghetti to easily relocate it.
  • Use the LZW decoding code from nsgif. It didn't support progressive loading and the more I looked into it the code wasn't of great quality.
Edited Jul 26, 2019 by Robert Ancell
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: decompress-on-demand