Skip to main content

resize2

resize2 extends the standard zimg resizer with custom kernel support (user-defined kernels via a function), a blur parameter to widen filter taps, and force-resize flags for overriding zimg's no-op checks.

Differences from Core Resize

New Method

  • Custom: Allows using a user-defined function as the scaling kernel.
    • custom_kernel: A callback function that takes an input position and returns an evaluated kernel value.
    • taps: The number of filter taps for the custom kernel.

New Parameters

Added to all resizing methods:

  • blur / blur_uv: Multiplier for the filter frequency. Values > 1.0 blur the image, while values < 1.0 sharpen it. blur_uv specifically affects chroma planes.

    Equivalent to fh and fv parameters of fmtc: blur=1.5 == fh=1 / 1.5, fv=1 / 1.5

  • force / force_uv: Boolean flag to force processing even when zimg would typically skip it. force_uv affects chroma.

  • force_h / force_h_uv: Force horizontal processing specifically for luma or chroma.

  • force_v / force_v_uv: Force vertical processing specifically for luma or chroma.

Installation

Pre-compiled wheels are available on PyPI for:

  • Windows: x86_64
  • Linux: x86_64 and aarch64
  • macOS: x86_64 and arm64 (13.0+)
pip install vapoursynth-resize2

Compilation

uv build --wheel

On Windows you may want to add -Csetup-args="--vsenv" to the command.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vapoursynth_resize2-0.5.0.tar.gz (32.8 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

vapoursynth_resize2-0.5.0-py3-none-win_amd64.whl (258.9 kB view details)

Uploaded Python 3Windows x86-64

vapoursynth_resize2-0.5.0-py3-none-musllinux_1_2_x86_64.whl (1.4 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

vapoursynth_resize2-0.5.0-py3-none-musllinux_1_2_aarch64.whl (1.2 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

vapoursynth_resize2-0.5.0-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (397.8 kB view details)

Uploaded Python 3manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

vapoursynth_resize2-0.5.0-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (235.0 kB view details)

Uploaded Python 3manylinux: glibc 2.27+ ARM64manylinux: glibc 2.28+ ARM64

vapoursynth_resize2-0.5.0-py3-none-macosx_13_0_x86_64.whl (370.7 kB view details)

Uploaded Python 3macOS 13.0+ x86-64

vapoursynth_resize2-0.5.0-py3-none-macosx_13_0_arm64.whl (191.7 kB view details)

Uploaded Python 3macOS 13.0+ ARM64

File details

Details for the file vapoursynth_resize2-0.5.0.tar.gz.

File metadata

  • Download URL: vapoursynth_resize2-0.5.0.tar.gz
  • Upload date:
  • Size: 32.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for vapoursynth_resize2-0.5.0.tar.gz
Algorithm Hash digest
SHA256 6bf1a6c864580bc283c7939fbb5bbb7d023fc28bbeaa1057aa6f426fa02b058f
MD5 8e1153833feffecc7aa6cae96507608d
BLAKE2b-256 d477c363b57bf0eaac3d17fcb878a4d9120cd4cf2514186b9913268c22462e06

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_resize2-0.5.0.tar.gz:

Publisher: pypipublish.yml on Jaded-Encoding-Thaumaturgy/vapoursynth-resize2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vapoursynth_resize2-0.5.0-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for vapoursynth_resize2-0.5.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 bb8e361658d5f12ccd64841d683744a20838f33fa8f24b8833518b2359baa05b
MD5 7ca44971fa98bec9ac9f690fd91b21f8
BLAKE2b-256 f227fa980045d4f89a74aa95a11945c661422e9ec7dba56902f0a6ef03bc47a2

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_resize2-0.5.0-py3-none-win_amd64.whl:

Publisher: pypipublish.yml on Jaded-Encoding-Thaumaturgy/vapoursynth-resize2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vapoursynth_resize2-0.5.0-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for vapoursynth_resize2-0.5.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3162b103fb01d77c6f4f54c48a4ecea9139a13a1f625b4b4808b179a281c269c
MD5 c52fa04781644eb7f64487b4fd1d9f79
BLAKE2b-256 102dec87db68fec7c8f5748e8434d6e6a97e898716825bfbb1b87231ffa48da0

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_resize2-0.5.0-py3-none-musllinux_1_2_x86_64.whl:

Publisher: pypipublish.yml on Jaded-Encoding-Thaumaturgy/vapoursynth-resize2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vapoursynth_resize2-0.5.0-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for vapoursynth_resize2-0.5.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 32c8445e0182da328fc70e791377e9ef7aad8b36e012717dbff6f8385d2a1d4a
MD5 71ac7eb4121bc9b5262bfc139a1bf2c6
BLAKE2b-256 e5fc30d18aff1705a3f9628ac56f75dd5a49531d4d0909764b48e72f7a682a58

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_resize2-0.5.0-py3-none-musllinux_1_2_aarch64.whl:

Publisher: pypipublish.yml on Jaded-Encoding-Thaumaturgy/vapoursynth-resize2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vapoursynth_resize2-0.5.0-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for vapoursynth_resize2-0.5.0-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5c268f14045e480171201854ba0cca2a6e44d1b7b666a1296e7d2700428d2b75
MD5 d69ef3a737f2e0587622b4b0d9d800da
BLAKE2b-256 5827800828608801cd2185d7e37adb606273efb16f146541fe216620f2a40654

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_resize2-0.5.0-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: pypipublish.yml on Jaded-Encoding-Thaumaturgy/vapoursynth-resize2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vapoursynth_resize2-0.5.0-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for vapoursynth_resize2-0.5.0-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1545c1c46eb6c4c59d1a413db52b9bd066ef7793ca13ec1afdb799f7fa10cf8c
MD5 c77e2cc0c82b013b729c8b69941333ed
BLAKE2b-256 9178d906fc690d0058b66c91538035afc38238040653523a3578a7d2f86ba630

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_resize2-0.5.0-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl:

Publisher: pypipublish.yml on Jaded-Encoding-Thaumaturgy/vapoursynth-resize2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vapoursynth_resize2-0.5.0-py3-none-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for vapoursynth_resize2-0.5.0-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 77cc9803c786bbe3bdb35a2c1222ac3f07eb1d6cd8f9cf75e4932bf68c69c3b0
MD5 dcf53e0475166b40247ebd7339a8f2e2
BLAKE2b-256 1764458863e5a7802150776d4ffaf84a54219c9815cc25efaa5c20248b322d38

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_resize2-0.5.0-py3-none-macosx_13_0_x86_64.whl:

Publisher: pypipublish.yml on Jaded-Encoding-Thaumaturgy/vapoursynth-resize2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vapoursynth_resize2-0.5.0-py3-none-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for vapoursynth_resize2-0.5.0-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 9738ba2866a341fda88c63469bbefd3c14d32614a720498aafdb43809389c668
MD5 44bf64252da96abce06595aee7b0b89f
BLAKE2b-256 2404f92183654931f52fa82ce556924ab9d1026d98416060ab0820aea57b8a46

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_resize2-0.5.0-py3-none-macosx_13_0_arm64.whl:

Publisher: pypipublish.yml on Jaded-Encoding-Thaumaturgy/vapoursynth-resize2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.5.1

8 files

This release

0.5.0 This release

8 files

0.4.3

8 files

0.4.2

7 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page