Module parser

Source
Expand description

A module implementing XCursor file parsing.

Structsยง

Image
A struct representing an image. Pixels are in ARGB format, with each byte representing a single channel.
Toc ๐Ÿ”’

Traitsยง

StreamExt ๐Ÿ”’

Functionsยง

parse_header ๐Ÿ”’
parse_img ๐Ÿ”’
parse_toc ๐Ÿ”’
parse_xcursor
Parse an XCursor file into its images.
parse_xcursor_stream
Parse an XCursor file into its images.
rgba_to_argb ๐Ÿ”’
Converts a RGBA slice into an ARGB vec