Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • Eye of GNOME Eye of GNOME
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 107
    • Issues 107
    • 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
  • Eye of GNOMEEye of GNOME
  • Merge requests
  • !83

Re-detect mimetype from data if loading fails the first time

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Krifa75 requested to merge Ordissimo/eog:detect-mimetype into master Oct 28, 2020
  • Overview 13
  • Commits 3
  • Pipelines 3
  • Changes 2

If the extension from the filename is not correct, the mimetype retrieved is incorrect and eog doesn't display the image and the thumbnail.

In this merge request, we guess the mimetype from the data and try a second time to load the image and generate the thumbnail ourselves.

Fixes #25 (closed).

Edited Feb 13, 2021 by Felix Riemann
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: detect-mimetype