Lucky Clan Forum

Support => Suggestions, Ideas, Bugs => Topic started by: Nighternet on January 21, 2018, 04:01:30 AM

Title: Why transform default is linear?
Post by: Nighternet on January 21, 2018, 04:01:30 AM
It produces the lowest quality extrapolation. Any plans to introduce options more advanced than cubic sharp?
Title: Re: Why transform default is linear?
Post by: Lucky Clan on January 22, 2018, 07:12:36 AM
Linear interpolation is the default interpolation for transform in all applications i know.
It is simple but looks good. And there is not too big quality loss after using "linear" few times.
Title: Re: Why transform default is linear?
Post by: Nighternet on January 23, 2018, 03:45:15 AM
It's default because it's the easiest and fastest (except for "none" of course), not because it produces the best results, especially when it comes to the art.

"None (nearest-neighbor): Use when you want absolutely no sampling (blurring) of the image. Not bad to have.

Linear: Use when you have very small text; cubic interpolation is usually better otherwise. This produces blurred, but jagged, edges.

Cubic: Use for most images. Unless the image is very small or incredibly detailed, cubic and bicubic interpolation helps keep edges smooth. According to Wikipedia, it can sometimes increase perceived contrast or cause artifacts.

Lanczos: This interpolation method is much like cubic except that instead of blurring, it creates a "ringing" pattern. The benefit is that it can handle detailed graphics without blurring like the cubic filters."

So, as you can see, any serious enlargement requires the most sophisticated algorithm to prevent blurring.