Skip to content

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

Krifa75 requested to merge Ordissimo/eog:detect-mimetype into master

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 by Felix Riemann

Merge request reports

Loading