Sakura
23rd February 2020, 07:51
Hello! I port AreaResize to VapourSynth, based on the original AviSynth verison (http://csbarn.blogspot.com/2012/08/arearesize.html) by Chikuzen and the modified AviSynth version (https://forum.doom9.org/showthread.php?t=175297) by Aktan.
AreaResize is an area average downscale resizer:
Support 8-16 bit and 32 bit sample type.
Support YUV and RGB color family.
Downscaling in 8-16 bit RGB with gamma corrected.
Usage
core.area.AreaResize(clip clip, int width, int height[, float gamma=2.2])
# Parameter "gamma" is for gamma corrected, only using for 8-16 bit RGB input
Github: https://github.com/Kiyamou/VapourSynth-AreaResize
Download: https://github.com/Kiyamou/VapourSynth-AreaResize/releases
There is known bug for special target size, such as 1920x1080 -> 1200x700 for 8~16bit YUV and 8bit RGB.
AreaResize is an area average downscale resizer:
Support 8-16 bit and 32 bit sample type.
Support YUV and RGB color family.
Downscaling in 8-16 bit RGB with gamma corrected.
Usage
core.area.AreaResize(clip clip, int width, int height[, float gamma=2.2])
# Parameter "gamma" is for gamma corrected, only using for 8-16 bit RGB input
Github: https://github.com/Kiyamou/VapourSynth-AreaResize
Download: https://github.com/Kiyamou/VapourSynth-AreaResize/releases
There is known bug for special target size, such as 1920x1080 -> 1200x700 for 8~16bit YUV and 8bit RGB.