diff --git a/examples/mtmd/clip.cpp b/examples/mtmd/clip.cpp index 3a9dc6a6..9b8a7c9f 100644 --- a/examples/mtmd/clip.cpp +++ b/examples/mtmd/clip.cpp @@ -4708,7 +4708,7 @@ bool clip_image_preprocess(struct clip_ctx * ctx, const clip_image_u8 * img, str params.patch_size * cur_merge, params.image_min_pixels, params.image_max_pixels); - img_tool::resize(*img, resized, new_size, img_tool::RESIZE_ALGO_BILINEAR, false); + img_tool::resize(*img, resized, new_size, img_tool::RESIZE_ALGO_BICUBIC, false); // clip_image_save_to_bmp(resized, "preproc.bmp"); clip_image_f32_ptr img_f32(clip_image_f32_init()); // clip_image_f32_ptr res(clip_image_f32_init());