The code path when choosing an image in file dialog tries to read a QImage with Images::Read and then only checks that mime type starts with image/ in ValidPhotoForAlbum
Core::FileIsImage and QImageReader::canRead checks should provide the same behavior