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: arm64 (11.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.2.tar.gz (32.4 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.2-py3-none-win_amd64.whl (257.6 kB view details)

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

vapoursynth_resize2-0.4.2-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (396.5 kB view details)

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

vapoursynth_resize2-0.4.2-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (233.5 kB view details)

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

vapoursynth_resize2-0.4.2-py3-none-macosx_11_0_arm64.whl (190.8 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: vapoursynth_resize2-0.4.2.tar.gz
  • Upload date:
  • Size: 32.4 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.2.tar.gz
Algorithm Hash digest
SHA256 69c01fb95a0c105c196f9e8f6dddc9f0ceae5c6f98df5264a0c1445c31b89ea3
MD5 7f8c2840e681d968c9da43b99f767491
BLAKE2b-256 e03dada1488f7a195b1e39ad5b17976c4731227a9df1fd53c4e93c095cea9144

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vapoursynth_resize2-0.4.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 7dde7301dcbfcf98eef023fe86bb90c58810f477dd34d6ca516d4c3326c60efe
MD5 61b82e8ecbf691c1a628d2c34e796b98
BLAKE2b-256 71b66d27a2a4da2a62ebd3dd3b337fac7d942bc1bcf74a7b084db926ad2efbe6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vapoursynth_resize2-0.4.2-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ff0f140cdc19df8e6ee0d7da68c05e921360aaa46960c7d6a8cbe930a311057e
MD5 4fe58d862691097eeffc90d5f27f5557
BLAKE2b-256 840b1f4801cbc67e7f74f3c2f8948ee77ac051d9c7f24aec46d04544037161a5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vapoursynth_resize2-0.4.2-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 3a04e4ec71d64bb608f5e96c4b1f16c475e2c996bb367c08931bf51ece4e1f69
MD5 948240999100eef56035444d9d35ed12
BLAKE2b-256 6f214d34c253e1cd90458ecfca68716c3ea15fe38a00572cfa18a0bc156d8cd5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vapoursynth_resize2-0.4.2-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2607bf51b0d2f5669f24790578e63b75f8b5f0a9970d448e2cafe6c5c477788d
MD5 8917fc10a7a06546bde463ed059a0029
BLAKE2b-256 5aca7b7a7f930e7e713076cb440785a37ba443bf844acca1354670139766fd9e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vapoursynth_resize2-0.4.2-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 df7999a7cf0f93a74ab6e60129c35c02895ba4701c1bc4c7ee0dd3ae6707212d
MD5 b0981a394e31494a4878b5063c1e3859
BLAKE2b-256 96568c2ca60254efad2452e1ee1d2e6cf57bdb90c6ea3f176286f6db64e0a2a7

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_resize2-0.4.2-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.2-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for vapoursynth_resize2-0.4.2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e1286682b87674a2793c9d2bbf3c88a1c91ebd1d7a63b7497f64d30932c925ba
MD5 4db97edf8c876165824a057893343450
BLAKE2b-256 9ef7d4f977f65eb9927042b3e27699fbc6f584f5a3bc4469914301ee91b14cc4

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_resize2-0.4.2-py3-none-macosx_11_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