Avsresize
From Avisynth wiki
Abstract | |
---|---|
Author | sekrit-twc |
Version | r1d |
Download | avsresize-r1d.7z |
Category | Resize |
License | Open source |
Discussion | Doom9 Forum |
Contents |
Description
z.lib resizers for AviSynth+
Requirements
- AviSynth+ x86/x64
- Supported color formats: RGB24, RGB32, Y8, YV12, YV16, YV24 (all 8...16 bit and float colorspaces)
Syntax and Parameters
z_ConvertFormat
Scaling, colorspace conversion, and depth conversion.
- z_ConvertFormat (clip clip, int "width", int "height", str "pixel_type", str "colorspace_op", str "chromaloc_op", bool "interlaced", float "src_left", float "src_top", float "src_width", float "src_height", str "resample_filter", float "filter_param_a", float "filter_param_b", str "resample_filter_uv", float "filter_param_a_uv", float "filter_param_b_uv", str "dither_type")
- clip =
- Input clip.
- clip =
- int width =
- int height =
- Output width and height in pixels.
- int width =
- string pixel_type =
- Output pixel type ("YV12", "YUV420P16", etc.)
- string pixel_type =
- string colorspace_op =
- Colorspace operation description.
- Format is
"matS[:transS[:primS[:rangeS]]]=>matD[:transD[:primD[:rangeD]]]"
- Example JPEG to MPEG:
"170m:709:709:f=>709:709:709:l"
- string colorspace_op =
MATRIX COEFFICIENTS TRANSFER CHARACTERISTICS COLOR PRIMARIES PIXEL RANGE "rgb" "709" "709" "limited" "709" "unspec" "unspec" "l" "unspec" "470m" "470m" "full" "fcc" "470bg" "470bg" "f" "470bg" "601" "170m" "170m" "240m" "240m" "240" "linear" "film" "ycgco" "log100" "2020" "2020ncl" "log316" "st428" "2020cl" "xvycc" "st431-2" "chromancl" "srgb" "st432-1" "chromacl" "2020_10" "jedec-p22" "ictcp" "2020_12" Compatibility aliases Compatibility aliases "st2084" "xyz" same as "st428" "601" same as "470bg" "std-b67" "dci-p3" same as "st431-2" "2020" same as "2020ncl" Compatibility aliases "display-p3" same as "st432-1" "2020" same as "2020_10" see tables on VapourSynth resize documentation
- string colorspace_op =
- Chroma location operation description.
- Format is
"[locS]=>[locD]"
- Example JPEG to MPEG2:
"center=>left"
- Chroma location table:
- "left"
- "center"
- Compatibility aliases
- "dv" : left
- "jpeg" : center
- "mpeg1" : center
- "mpeg2" : left
- Chroma location table:
- string colorspace_op =
- bool interlaced = false
- Whether to use interlaced mode (default: false)
- bool interlaced = false
- float src_left =
- float src_top =
- float src_width =
- float src_height =
- Optional crop rectangle in the input frame.
- float src_left =
- string resample_filter =
- Resampling modes:
"point", "bilinear", "bicubic", "spline16", "spline36", "lanczos"
- Compatibility aliases:
"gauss", "spline64", "lanczos4","blackman", "sinc"
- Resampling modes:
- string resample_filter =
- float filter_param_a =
- float filter_param_b =
- First and second parameter to resampler.
- Example Bicubic (Mitchell-Netravali):
resample_filter="bicubic", filter_param_a=0.333, filter_param_b=0.333
- Example 4-tap Lanczos:
resample_filter="lanczos", filter_param_a=4
- float filter_param_a =
- string resample_filter_uv =
- Resampling mode for chroma.
- string resample_filter_uv =
- float filter_param_a_uv =
- float filter_param_b_uv =
- First and second parameter to chroma resampler.
- float filter_param_a_uv =
- string resample_filter =
- Dithering type:
"none", "ordered", "random", "error_diffusion"
- Dithering type:
- string resample_filter =
Changelog
Version Date Changes
r1d 2018/03/21 - lastest release r1 2016/10/29 - initial release
Archived Downloads
Version | Download | Mirror |
---|---|---|
r1d | avsresize-r1d.7z |
External Links
- Doom9 Forum - 8bit or greater (AviSynth+) linear/gamma light aware resizing?
- Doom9 Forum - HDRTools vs DitherTools vs ColorMatrix
Back to External Filters ←