Skip to main content

resize2 plugin for VapourSynth with blur support

Project description

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.

Project details


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.4.3.tar.gz (32.6 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.4.3-py3-none-win_amd64.whl (257.7 kB view details)

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ x86-64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

vapoursynth_resize2-0.4.3-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (396.6 kB view details)

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

vapoursynth_resize2-0.4.3-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (233.6 kB view details)

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

vapoursynth_resize2-0.4.3-py3-none-macosx_13_0_x86_64.whl (370.6 kB view details)

Uploaded Python 3macOS 13.0+ x86-64

vapoursynth_resize2-0.4.3-py3-none-macosx_13_0_arm64.whl (190.9 kB view details)

Uploaded Python 3macOS 13.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for vapoursynth_resize2-0.4.3.tar.gz
Algorithm Hash digest
SHA256 f3dca6b49d2cac625769ea63fcec3ae86146960326aa239a2efd64d6f8b712e2
MD5 0ed7caa91857df37605d5ad5ede1afa0
BLAKE2b-256 97bf06e1484bd7de69143b04e66d7c5da32c74b0bef43aa26c9a26874d3dfedf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vapoursynth_resize2-0.4.3-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 151d1d683b14c230dc7dede2f279e0d211b8a91d7470e50e6f0276d7728d4737
MD5 7171e8fcdacec32f01722b4d854a27f3
BLAKE2b-256 408438544a01ce6f849d707718bd1f6346a9140c9621521e76fe54a8ef8d8b3b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vapoursynth_resize2-0.4.3-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 aa5a20a7f65f5f297cc466e2e95fa4477a52be512bbb96c2587681351e90e1f7
MD5 a8755b8bd9267676cac4444520152bd6
BLAKE2b-256 523dd2718bf7938aeaa0d12e204363a7581f93624f4786930b2edc54bfcb1288

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vapoursynth_resize2-0.4.3-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 3de71adf476e183d2346440cb71fe36441db3687a726df9b35a358586f565d7b
MD5 f232a726353e8ffe2abc5dfe6331a5d3
BLAKE2b-256 43711f094f78b5d5fcbafdcba3b7fa364710175257965edfcf6e54bf37812d0a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vapoursynth_resize2-0.4.3-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9e29a6ab7a0f9594e7b709af520dbbe05c10423a43540518481b7ced1a977716
MD5 21de03306b226a4a17db21e677c8aed3
BLAKE2b-256 694585137984f8f40e22787c4b67e81888a3108b659c4b0855a1fdc1e3938ac6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vapoursynth_resize2-0.4.3-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 be52fc8a3bbb69bc4d2dca6c3b2d45277fa0033fd3357a1f248b6c75e38f26b2
MD5 296377fa3d8aaca41d0fad2384056f67
BLAKE2b-256 13a154970691072ed1bd0170a9cf7748035f90f09a5158a61401f2ac8ca4729e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vapoursynth_resize2-0.4.3-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b05bd0d7e58fe2dd9e1e1ca0fef588ed41ea94fe3e731b1879e2aceed7ffbfcb
MD5 aedc12cbe60797da08761e4f9b0d238c
BLAKE2b-256 4eeb5719ca8458a10adddcf68ddf0e2d27830f8d1b377399f72c9098d7f6cf69

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vapoursynth_resize2-0.4.3-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 44213c6f7de7d20a70d61d9d1f87e78dd55de303d8e28f77db9c04936ca5f939
MD5 6c430bed75fc99c2516b26ca4f73806c
BLAKE2b-256 00a7f46ec0943f2fb8191c24757af565d20b815a4728d92da7b9f2fe89e13a48

See more details on using hashes here.

Provenance

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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page