<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - Add option to manually disable bilinear filtering"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=68360#c22">Comment # 22</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - Add option to manually disable bilinear filtering"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=68360">bug 68360</a>
              from <span class="vcard"><a class="email" href="mailto:dr.hyder@gmail.com" title="Charles Hyder <dr.hyder@gmail.com>"> <span class="fn">Charles Hyder</span></a>
</span></b>
        <pre>Confirmed: Splash::scaleImageYuXu (scaling image up) does not use pixel mixing,
it uses nearest neighbor. Unbelievable! Netpbm has been around for ages. You
didn't have to reinvent the wheel, you could have just copied the code.

Here's the plan:

1) introduce pixel mixing into Splash::scaleImageYuXu, and also into
scaleImageYdXu & scaleImageYuXd -- any "u" (upsampling) function.

2) reduce

if (!tilingPattern && isImageInterpolationRequired(srcWidth, srcHeight,
scaledWidth, scaledHeight, interpolate))
   scaleImageYuXuBilinear(...);

to 

if (!tilingPattern && interpolate)
   scaleImageYuXuBilinear(...);

that is, interpolate if and only if the "interpolate" flag is set.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>