Add support for opening Xcursor files

Sadly, they don't have a canonical extension, and they don't show up
in the browser.  We might want to employ some level of sniffing.
The first 16 bytes are enough to identify a lot.
This commit is contained in:
2021-11-17 13:45:42 +01:00
parent e8754f43a6
commit db7a28b187
6 changed files with 151 additions and 3 deletions

View File

@@ -8,4 +8,4 @@ Terminal=false
StartupNotify=true
Categories=Graphics;2DGraphics;Viewer;
# TODO(p): Generate this list from source files.
MimeType=image/png;image/bmp;image/gif;image/jpeg;image/x-dcraw;image/svg+xml;
MimeType=image/png;image/bmp;image/gif;image/jpeg;image/x-dcraw;image/svg+xml;image/x-xcursor;