QuickLook\QuickLook.Plugin\QuickLook.Plugin.ImageViewer\AnimatedImage\Providers\ImageMagickProvider.cs(112,35,112,52): warning CS0618: 'ColorProfile.SRGB' is obsolete: 'This property will be removed in the next major release. Use ColorProfiles.SRGB instead.'
Revert "Fix wwarning ColorProfile reference in ImageMagickProvider"
This reverts commit 649fd3a892.
Reapply "Fix wwarning ColorProfile reference in ImageMagickProvider"
This reverts commit 5e9dea6af313ec03c40b1f4dcaa461643a02d4f2.
Use following option in `QuickLook.Plugin.ImageViewer.config` to fix the issue:
```xml
<?xml version="1.0" encoding="utf-8"?>
<Settings>
<UseColorProfile>false</UseColorProfile>
<UseNativeProvider>false</UseNativeProvider>
</Settings>
```
* Replace supported image extension list with image detection via MagickImageInfo.
* Change ImageViewer priority to -4.
Change VideoViewer priority to -3 and detect audio/video via MediaInfo instead of file extensions.
* Make mediaInfo a class static and initialize once.
Add some notes about MediaInfo Open and Close.
* Remove try/catch from Prepare and let it be handled in caller.
If there was an exception due to MediaInfo it would have already occurred in CanHandle.
* Upgrade ImageMagick to latest
* Only check extension for well known image and animated image types.
For other image formats, let ImageMagick try to detect by file content.
Upgrade to latest Magick.NET
Co-authored-by: Frank Becker <frank.becker@thoughtexchange.com>