6/2/2023 0 Comments Bicubic or bilinearIt's also a somewhat awkward limitation since. it showed more aliasing than a conventional triangle filter (precise bilinear in VirtualDub) or bicubic decimation filter - not too surprising for a box filter. More specifically, it is equivalent to linear interpolation for enlargement along an axis and a box filter for decimation. In practice, it's a lot more blurry for downscaling than GDI's cubic downscaling, so the theory about averaging sounds about right. The followings are talking about the Fant algorithm, which is the highest quality algorithm among them: This is discussed in a StackOverflow question and VirtualDub blog. The problem is that all the supported scaling algorithms of, which are NearestNeighbor, Linear, Fant, do not give us good results. There are also other algorithms in : NearestNeighbor (lower quality than linear) and Fant (higher quality than linear). , which is used in WPF, uses "linear" scaling as the default scaling algorithm as stated in the MS document. This kind of problem will also apply when enlarging images. The former image had some visible artifacts (something like over-sharpening) due to the scaling. The image resized to ~50% of the original size with ScreenToGif showed visibly lower quality than the image resized to ~50% of the original size with Photoshop.
0 Comments
Leave a Reply. |