This module defines the PPNet.Message.Image struct and provides functions to parse
a binary or list representation of an Image message into this struct.
Summary
Types
@type format() :: :jpeg | :webp | :png | :h264
@type t() :: %PPNet.Message.Image{ data: binary(), datetime: DateTime.t(), format: format(), id: uuidv4() }
The PPNet.Message.Image struct
Fields
id- UUIDv4 identifying the imageformat- Image format (:jpeg,:webp,:png, or:h264).:h264data must be Annex-B framed (NAL units prefixed with a00 00 01/00 00 00 01start code);pack/1rejects other framings.data- Raw image binarydatetime- Timestamp of the image capture
@type uuidv4() :: String.t()