Skip to content

armgit / moli

Public Imported from GitHub
0

Best headless browser for AI agents. Lite, Fast, High-Compatibility. Built in Rust

400 B
Raw Blame
/// Maximum encoded image payload retained for protocol or resource handoff.
pub const MAX_ENCODED_IMAGE_BYTES: usize = 128 * 1024 * 1024;

/// Maximum materialized straight-RGBA8 buffer owned by one codec operation.
///
/// Paint independently bounds transient raster allocations. This codec limit
/// also protects network image decode.
pub const MAX_DECODED_RGBA_BYTES: usize = 128 * 1024 * 1024;