Skip to content

[Feature request] Apply Lanczos/Sinc filtering to uploaded images #14

@sappykun

Description

@sappykun

Uploading high resolution images to the spray importer has a noticeable hit on the quality of the processed image due to the lack of filtering when resizing images.

Proposal: use the Lanczos filter to resize high-resolution images.

For example, I have this 2712x2712 image:
daisyembrace_junnosuke_2x

The first image was resized to 724x724 in imagemagick using the lanczos filter, and the second was resized by uploading directly to the site (724x724 as well):
daisyembrace_junnosuke_2x_724_lanczos
daisyembrace_junnosuke_2x_724_nofilter

As you can see, the unfiltered image is much more pixelated than the image I pre-filtered.

This has a significant impact on the quality of in-game sprays as well (both DXT5, default sampling, filtered on the left and unfiltered on the right), not only with pixel quality but also with DXT compression:
20201025180909_1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions