Thread: Avisynth+
View Single Post
Old 19th March 2018, 03:32   #4002  |  Link
raffriff42
Retried Guesser
 
raffriff42's Avatar
 
Join Date: Jun 2012
Posts: 1,373
>Dont know if below is bugged, or misleading error message, or both.
misleading I'd say
Quote:
avs_core\filters\resample_functions.cpp(247)
if (source_size <= filter_support) {
env->ThrowError("Resize: Source image too small for this resize method. Width=%d, Support=%d", source_size, int(ceil(filter_support)));
}
EDIT one quick fix
Quote:
if (source_size <= filter_support) {
env->ThrowError("Resize: Source image too small for this resize method. Width=%d, Minimum=%d", source_size, int(ceil(filter_support))+1 );
}
So instead of
Quote:
source image too small for this resize method. Width=1, Support=1.
you would see
Quote:
source image too small for this resize method. Width=1, Minimum=2.

Last edited by raffriff42; 19th March 2018 at 04:13.
raffriff42 is offline