Add support for reading X11 cursors
Open
- Dominant language
- C
- Stars
- 4.8k
- Forks
- 145
- Avg merge
- 11h 48m
- Merged PRs (30d)
- 1
Description
It is an uncompressed format using alpha-premultiplied ARGB32, and it supports animations:
https://www.x.org/releases/current/doc/man/man3/Xcursor.3.xhtml
Reading in only one nominal size would already be useful, e.g., the first contiguous stream of equivalent dimensions in the file.
I might try to implement it myself. I suspect the greatest issue will be handling seeking, since the format uses byte offsets. They are always little-endian, because that is what libXcursor does.
Contributor guide
Assessment
This issue has not been assessed yet.