Use the content magick for determining the mimetype of local image files
KMimeType just checks the extension, to "give the user flexibility". This means that if the user has used that flexibility to rename a JPG file to bla.png, Krita gets confused because it thinks it's loading a PNG. For images, the magick is actually much more reliable than the extension, so use that. BUG:297656
parent
a4b4e6c6
Please register or sign in to comment