Skip to main content

parse_raw_image

Function parse_raw_image 

Source
pub fn parse_raw_image(data: &[u8]) -> Result<ParsedRawImage, String>
Expand description

Parse a VSF RAW image file

Extracts the image BitPackedTensor and all metadata fields from a VSF RAW file.

§Arguments

  • data - The complete VSF file bytes

§Returns

ParsedRawImage containing the image and optional metadata, or an error