Did not try z_lib resizers, but your script (as supplied, running for 3 mins) does OK on XP32 bit.
EDIT: OK after redo at 6 mins.
Why this, (Round produces an Int already, you can answer for Didee if you like [did it change in more recent version of Avs])
Code:
(f<16) ? 16 : Int(Round(f/4.0)*4)
EDIT: Only relevant mention of round I could find,
Quote:
Changes from 2.06
Fixed ceil, floor and round functions.
|
Avs+ thread 1 Million and 25 thousand views since Sept 2013, WOW ! [cookies seem to track if user viewed already].