mtmd: add lanczos resize method [no release] (#26341)

This commit is contained in:
Xuan-Son Nguyen
2026-07-30 21:59:49 +02:00
committed by GitHub
parent b4ca032ae3
commit 5f55650a78
2 changed files with 51 additions and 11 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ enum resize_algo {
RESIZE_ALGO_BILINEAR, // stretch to target resolution
RESIZE_ALGO_BICUBIC, // center-crop when aspect ratio doesn't match
RESIZE_ALGO_BICUBIC_PILLOW,
// RESIZE_ALGO_LANCZOS, // TODO
RESIZE_ALGO_LANCZOS,
};
// Padding style for img_tool::resize