Expand description
Production texture ingestion for external/data URI and embedded images.
Enforces strict MIME/magic signature checks, safe arithmetic, dimension and byte-budget ceilings, and failure-safe rollback.
Structs§
- Ingested
Texture - A content-addressed, signature-verified ingested texture.
Enums§
Constants§
Functions§
- ingest_
texture_ payload - Ingest a texture from either a Data URI or raw encoded bytes with strict signature validation.
- parse_
data_ uri - Parse a
data:[mediatype][;base64],<data>URI and decode the inner payload. - validate_
image_ signature - Validate the binary file header against the declared MIME type.