• Kai Uwe Broulik's avatar
    [Windows Image Thumbnailer] Generate thumbnails for ANI files · 7d0ce37f
    Kai Uwe Broulik authored
    Now that we have an ANI image plugin. The thumbnailer already lists ANI files
    in its mime type list but that couldn't actually have worked before.
    
    The thumbnailer explicitly calls into Qt's "ico" handler, so it won't
    auto-detect ANI files. However, we also don't want to run into its
    icon selection algorithm (picking the best fitting and highest color
    depth icon there is) because the images we have are just image sequences,
    so we'll just run the `QImageReader` directly should we enocunter an
    ANI file.
    
    ANI files are a lot less common than ICO, so put it *after* the existing
    `loadIcoImage` call which will fail soon enough when it finds it can't
    read it using the "ico" plugin, to save a pointless mime type query
    every time.
    7d0ce37f
windowsimagecreator.cpp 1.42 KB