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.1.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.1-py3-none-win_amd64.whl (259.0 kB view details)

Uploaded Python 3Windows x86-64

vapoursynth_resize2-0.5.1-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.1-py3-none-musllinux_1_2_aarch64.whl (1.2 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

vapoursynth_resize2-0.5.1-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.1-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (262.0 kB view details)

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

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

Uploaded Python 3macOS 13.0+ x86-64

vapoursynth_resize2-0.5.1-py3-none-macosx_13_0_arm64.whl (224.4 kB view details)

Uploaded Python 3macOS 13.0+ ARM64

File details

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

File metadata

  • Download URL: vapoursynth_resize2-0.5.1.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.1.tar.gz
Algorithm Hash digest
SHA256 ef83b418f1b5a2c24a01e9fd32f114205216008a61fad4d2ef217c6a0c08bc59
MD5 d6346bcd7c49d074c9f2df060020cf9f
BLAKE2b-256 8071b43f7f9174ce6b2306b0cdc008bc010aab594805338813b09342e23f21b5

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_resize2-0.5.1.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.1-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for vapoursynth_resize2-0.5.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 c7e8d44cc800b1f2d43151e908794754e11fdd489a27be2f46d26b265d5af03f
MD5 e210aae753ea1832b1951e9fbd5b317f
BLAKE2b-256 5d2276482268f01d7b1fb9b8fc3b9e7065eafc0818214297accc57cfc3000ceb

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_resize2-0.5.1-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.1-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for vapoursynth_resize2-0.5.1-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 00bbd7b39534db1983303b2c85b38c8409c2d4e17cfe6b9dedaa4e0fe8c2bb35
MD5 ff0508ea47b04c4fe7ac3f33765112dc
BLAKE2b-256 82d9f38e8b392f589fd75da99e5114d02e7b62561372e59dd8d311dce193381d

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_resize2-0.5.1-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.1-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for vapoursynth_resize2-0.5.1-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 aa98d21e36541d9e9581e836109cedf2115d471d6f9b38e142745ab6fa52f8ef
MD5 e0fd702b6850ed3d70fe43c896d70603
BLAKE2b-256 b8fcc6f6e753455e1a3aab5ec84d2f2459ca1c1cc2dda68af258229989b09c12

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_resize2-0.5.1-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.1-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for vapoursynth_resize2-0.5.1-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 77622ffc40af926aaf5f1a136837a8c0c01670155ed1f01ece808c2c0c18ba31
MD5 0233a91b5302d16b0834ed8fa78ff939
BLAKE2b-256 83e7148ec605d2ef7e2188e47788d79507bae66402d3c4b16b85861e32953d87

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_resize2-0.5.1-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.1-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for vapoursynth_resize2-0.5.1-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f57b1c72c43d46ff8396305ec3b556bc94baa3218a0675f3d39a446b740c46e9
MD5 b2220be6d742000750ef1eddc1925a66
BLAKE2b-256 9742f533e265220dade4a78513a2a0d888059e0db397eacd36b6513e8eab00e3

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_resize2-0.5.1-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.1-py3-none-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for vapoursynth_resize2-0.5.1-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b7935d1b59793f9cc86e3540cd4a6ded1d1df9ee34a3208e6555e1c0f20503af
MD5 f1abc4909e5a2bfae4e6beb0cafdd0d7
BLAKE2b-256 436a6f00c033051fa08a2f97a07cb09e844d459f967928155b28d693780b7791

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_resize2-0.5.1-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.1-py3-none-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for vapoursynth_resize2-0.5.1-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 59be8beef3668dcc5edc6cd80100dedb905e9e6024700f64ff714ddc12d47798
MD5 06b9343bc78584ff0e460ea2e458083d
BLAKE2b-256 1b51eb05589785900e58a1f601039573a10dff4fa4ad7e7c2d9ba4d045d7a98f

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_resize2-0.5.1-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

This release

0.5.1 This release

8 files

0.5.0

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