Author Topic: Why transform default is linear?  (Read 3029 times)

Nighternet

  • Full Member
  • ***
  • Posts: 203
Why transform default is linear?
on: January 21, 2018, 04:01:30 AM
It produces the lowest quality extrapolation. Any plans to introduce options more advanced than cubic sharp?

Lucky Clan

  • Administrator
  • Hero Member
  • *****
  • Posts: 2428
    • Lucky Clan homepage
Re: Why transform default is linear?
Reply #1 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.

Nighternet

  • Full Member
  • ***
  • Posts: 203
Re: Why transform default is linear?
Reply #2 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.