pub async fn download_image_with_config( url: &str, config: &ImageConfig, ) -> Result<DownloadedImage>