Re-exports§
pub use crate::error::ImageProcessingError;
Modules§
Structs§
Enums§
Constants§
- MAX_
DIMENSION - Maximum width or height used when resizing images before uploading.
- MAX_
PROMPT_ IMAGE_ INPUT_ BYTES - Maximum accepted byte length for prompt image input representations.
- PROMPT_
IMAGE_ PATCH_ SIZE
Functions§
- data_
url_ from_ bytes - Wraps image bytes in a data URL without decoding or validating them.
- load_
data_ url_ for_ prompt - load_
for_ prompt_ bytes