Skip to content
  • Halla Rempt's avatar
    Use the content magick for determining the mimetype of local image files · 385aced3
    Halla Rempt authored
    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
    385aced3