Byte size of this picture when serialized inside an ASF attribute. Accounts for the type byte, 4-byte size field, and null-terminated UTF-16LE MIME type and description strings.
Optional description or caption for the picture.
The new description.
true if this object was successfully parsed or explicitly created.
MIME type string (e.g. "image/jpeg").
The new MIME type.
Raw encoded picture bytes (JPEG, PNG, etc.).
The new picture data.
Picture category/type.
The new picture type.
Deserialize a WM/Picture payload into this instance.
Sets isValid to true on success and false on malformed input.
The raw bytes of the attribute value.
Serialize this picture to bytes for storage in an ASF WM/Picture
attribute. Returns an empty ByteVector if this instance is invalid.
StaticcreateCreate a new valid empty picture.
StaticfromCreate an invalid (sentinel) picture.
Represents an embedded picture stored in an ASF
WM/Pictureattribute.Create instances via AsfPicture.create (valid picture) or AsfPicture.fromInvalid (sentinel / placeholder).