Fix image format detection for upper case extensions, e.g. JPG

This regression was introduced in 0.56.0.

Fixes #6137
This commit is contained in:
Bjørn Erik Pedersen
2019-07-30 08:53:50 +02:00
parent 00a238e32c
commit c62bbf7b11
3 changed files with 11 additions and 1 deletions

BIN
resources/testdata/sunrise.JPG vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB