preprocess_image_with_max_pixels

Function preprocess_image_with_max_pixels 

Source
pub fn preprocess_image_with_max_pixels(
    data_uri: &str,
    vcfg: &VisionConfig,
    max_pixels: Option<usize>,
) -> Result<(Vec<f32>, usize, usize)>
Expand description

2026-09-25: preprocess_image with an optional area bound max_pixels (see target_size_for).