Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support more scaling filters such as Bicubic or Lanczos #9

Open
Sukid opened this issue Mar 19, 2022 · 1 comment
Open

Support more scaling filters such as Bicubic or Lanczos #9

Sukid opened this issue Mar 19, 2022 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Sukid
Copy link

Sukid commented Mar 19, 2022

I just thought it would be cool to have a few more scaling filters available, like bicubic and lanczos. Bicubic has looked a bit nicer for downscaling in my experience!

@Ferdi265 Ferdi265 added the enhancement New feature or request label Mar 19, 2022
@Ferdi265
Copy link
Owner

Ferdi265 commented Mar 19, 2022

Scaling is currently implemented via the OpenGL GL_TEXTURE_MIN_FILTER/GL_TEXTURE_MAG_FILTER texture parameter options.

Supporting other scaling filters would require actually implementing them manually (and I have no experience implementing such algorithms) because OpenGL does not provide them as far as I know.

I'll gladly accept a PR that adds this, but probably won't implement this myself in the near future (at least until I find enough time to look at how texture filtering actually works)

@Ferdi265 Ferdi265 changed the title (enhancement) More (down)scaling filters? Support more scaling filters such as Bicubic or Lanczos Mar 19, 2022
@Ferdi265 Ferdi265 added the help wanted Extra attention is needed label Jan 23, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants