mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-12 18:39:45 +00:00
Support .cur and .ani cursor images
This commit is contained in:
@@ -196,6 +196,18 @@ internal class ImageMagickProvider : AnimationProvider
|
||||
|
||||
return new TransformedBitmap(image, transforms);
|
||||
}
|
||||
|
||||
protected bool IsImageMagickSupported(string path)
|
||||
{
|
||||
try
|
||||
{
|
||||
return new MagickImageInfo(path).Format != MagickFormat.Unknown;
|
||||
}
|
||||
catch
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
file static class Extension
|
||||
|
Reference in New Issue
Block a user