Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Added Lanczos resizing filter #107

Merged
merged 1 commit into from
May 2, 2017
Merged

Added Lanczos resizing filter #107

merged 1 commit into from
May 2, 2017

Conversation

beaudet
Copy link

@beaudet beaudet commented Apr 29, 2017

The Lanczos filter provides an improvement in visual quality as compared
to the bilinear filter. It seems to provide more sharpess where
sharpness is needed and is not that much slower than the bilinear filter.
It runs between 75-80% as fast as the default bilinear filter.

The Lanczos filter provides an improvement in visual quality as compared
to the bilinear filter. It seems to provide more sharpess where
sharpness is needed and is not that much slower than the bilinear filter.
It runs between 75-80% as fast as the default bilinear filter.
@@ -199,7 +199,8 @@ Default is 86400 seconds (24 hours).

INTERPOLATION: Interpolation method to use for rescaling when using image export.
Integer value. 0 for fastest nearest neighbour interpolation. 1 for bilinear
interpolation (better quality but about 2.5x slower). Bilinear by default.
interpolation (better quality but about 2.5x slower). 2 for approximated Lanczos
interpolation (best quality but about 30% slower than bilinear). Bilinear (2) is default.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this correct, or is it supposed to be Bilinear (1) is default?

@beaudet
Copy link
Author

beaudet commented Apr 30, 2017

Yes, good catch. My intention was to retain (1) as the default.

@ruven ruven merged commit 2dfba54 into ruven:lanczos May 2, 2017
@ruven
Copy link
Owner

ruven commented May 2, 2017

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants