Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gThumb gThumb
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 126
    • Issues 126
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & 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
  • GNOME
  • gThumbgThumb
  • Merge requests
  • !39

JXL update: faster loading (kinda)

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Ian Tester requested to merge imroykun/gthumb:jxl-image-out-and-dc-thumbnail into master Jun 16, 2022
  • Overview 0
  • Commits 3
  • Changes 1

This contains two updates that should speed up the loading of JXL images.

  1. Use an image-out callback with libjxl to convert pieces of pixel data. This is called by decoder threads and should be faster than doing the whole image in one thread at the end.
  2. If requested_size is defined and small enough (e.g for a thumbnail), try to load just the 1/8th DC image. This only works if the JXL file is encoded progressively. Sadly this isn't the default because it usually increases the file size slightly.
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: jxl-image-out-and-dc-thumbnail