Thread: Avisynth+
View Single Post
Old 18th February 2020, 09:20   #5161  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 2,314
Quote:
Originally Posted by StainlessS View Post
BlankClip(Width=1024,Height=1024,pixel_type=CS)
BicubicResize(W,H) # Resize: Source image too small for this resize method. Width=1024, Support=2048.

Return Last
[...]
I will definitely kill that error message about "support". Filter property, original and target size, crop size are all involved in the calculation.

Code:
filter_support = support() / min(target_width / crop_width, 1.0)
if (width_original < filter_support) --> error
support() values are
4 - Gaussian, sinc, Spline64, lanczos4
4 (or taps) - Blackman
3 (or taps) - Lanczos
3 - Spline36
2 - Spline16, bicubic
1 - bilinear
pinterf is offline