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.

Metadata

Release files for vapoursynth-resize2 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vapoursynth-resize2 0.5.1
File Size Uploaded Provenance
vapoursynth_resize2-0.5.1.tar.gz 32.8 kB With provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for vapoursynth-resize2 0.5.1
File
vapoursynth_resize2-0.5.1-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
vapoursynth_resize2-0.5.1-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details
vapoursynth_resize2-0.5.1-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details
vapoursynth_resize2-0.5.1-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details
vapoursynth_resize2-0.5.1-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64, Linux glibc 2.27+ ARM64 Details
vapoursynth_resize2-0.5.1-py3-none-macosx_13_0_x86_64.whl Python 3 none macOS 13.0+ x86-64 Details
vapoursynth_resize2-0.5.1-py3-none-macosx_13_0_arm64.whl Python 3 none macOS 13.0+ ARM64 Details

Total release size: 4.2 MB

Release files / vapoursynth_resize2-0.5.1.tar.gz

Download URL vapoursynth_resize2-0.5.1.tar.gz
Size 32.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ef83b418f1b5a2c24a01e9fd32f114205216008a61fad4d2ef217c6a0c08bc59
BLAKE2b-256 checksum
How to use checksums
8071b43f7f9174ce6b2306b0cdc008bc010aab594805338813b09342e23f21b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 25, 2026.

Transparency log

Release files / vapoursynth_resize2-0.5.1-py3-none-win_amd64.whl

Download URL vapoursynth_resize2-0.5.1-py3-none-win_amd64.whl
Size 259.0 kB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
c7e8d44cc800b1f2d43151e908794754e11fdd489a27be2f46d26b265d5af03f
BLAKE2b-256 checksum
How to use checksums
5d2276482268f01d7b1fb9b8fc3b9e7065eafc0818214297accc57cfc3000ceb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 25, 2026.

Transparency log

Release files / vapoursynth_resize2-0.5.1-py3-none-musllinux_1_2_x86_64.whl

Download URL vapoursynth_resize2-0.5.1-py3-none-musllinux_1_2_x86_64.whl
Size 1.4 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
00bbd7b39534db1983303b2c85b38c8409c2d4e17cfe6b9dedaa4e0fe8c2bb35
BLAKE2b-256 checksum
How to use checksums
82d9f38e8b392f589fd75da99e5114d02e7b62561372e59dd8d311dce193381d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 25, 2026.

Transparency log

Release files / vapoursynth_resize2-0.5.1-py3-none-musllinux_1_2_aarch64.whl

Download URL vapoursynth_resize2-0.5.1-py3-none-musllinux_1_2_aarch64.whl
Size 1.2 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
aa98d21e36541d9e9581e836109cedf2115d471d6f9b38e142745ab6fa52f8ef
BLAKE2b-256 checksum
How to use checksums
b8fcc6f6e753455e1a3aab5ec84d2f2459ca1c1cc2dda68af258229989b09c12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 25, 2026.

Transparency log

Release files / vapoursynth_resize2-0.5.1-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL vapoursynth_resize2-0.5.1-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 397.8 kB
Tags Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
77622ffc40af926aaf5f1a136837a8c0c01670155ed1f01ece808c2c0c18ba31
BLAKE2b-256 checksum
How to use checksums
83e7148ec605d2ef7e2188e47788d79507bae66402d3c4b16b85861e32953d87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 25, 2026.

Transparency log

Release files / vapoursynth_resize2-0.5.1-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl

Download URL vapoursynth_resize2-0.5.1-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Size 262.0 kB
Tags Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
f57b1c72c43d46ff8396305ec3b556bc94baa3218a0675f3d39a446b740c46e9
BLAKE2b-256 checksum
How to use checksums
9742f533e265220dade4a78513a2a0d888059e0db397eacd36b6513e8eab00e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 25, 2026.

Transparency log

Release files / vapoursynth_resize2-0.5.1-py3-none-macosx_13_0_x86_64.whl

Download URL vapoursynth_resize2-0.5.1-py3-none-macosx_13_0_x86_64.whl
Size 370.7 kB
Tags Python 3 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
b7935d1b59793f9cc86e3540cd4a6ded1d1df9ee34a3208e6555e1c0f20503af
BLAKE2b-256 checksum
How to use checksums
436a6f00c033051fa08a2f97a07cb09e844d459f967928155b28d693780b7791
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 25, 2026.

Transparency log

Release files / vapoursynth_resize2-0.5.1-py3-none-macosx_13_0_arm64.whl

Download URL vapoursynth_resize2-0.5.1-py3-none-macosx_13_0_arm64.whl
Size 224.4 kB
Tags Python 3 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
59be8beef3668dcc5edc6cd80100dedb905e9e6024700f64ff714ddc12d47798
BLAKE2b-256 checksum
How to use checksums
1b51eb05589785900e58a1f601039573a10dff4fa4ad7e7c2d9ba4d045d7a98f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 25, 2026.

Transparency log

Security for vapoursynth-resize2 0.5.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 8 files in this release have been uploaded with provenance metadata.

Select from 8 files

Attestation for vapoursynth_resize2-0.5.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 25, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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