Pinta doesn't recognize images with wrong file extension
Bug #1679570 reported by
Bartosz Skrzypczak
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Pinta |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Most other programs use somethig like mime type (or some other mechanism that looks at file content) instead of relying only on file extensions. Pinta seems to rely only on file extension to determine file type. And some of my images have wrong extension (like .jpe instead of .jp(e)g).
Would it be possible to fix it and detect file types even when the extension is wrong/isn't available?
description: | updated |
Changed in pinta: | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
Changed in pinta: | |
milestone: | none → 2.1 |
Changed in pinta: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
To extend this, when I duplicate an image file 'myImage.jpg' I would typically get something like 'myImage.jpg (2)'. This also results in an unrecognised file type for I assume the same reason.
Exception: FormatException : Unsupported file format
System.
Pinta Version 1.6
Linux Mint 18.1, Cinnamon