Function pic
Source pub fn pic<R: Read>(reader: R) -> Result<Picture>
Expand description
Parse a Quake-style .pic image (qpic).
§Arguments
reader — Any type implementing Read.
§Returns
A texture::Picture representing the decoded image.
§Errors
Returns an io::Error if the stream cannot be read or is not a valid qpic.