<div class="wiki">
<p>Steps to reproduce visual glitches:</p>
<p>1. Load a raster; for the sake of this example, please use 1:10m ocean bottom available @ <a class="external" href="http://www.naturalearthdata.com/downloads/10m-raster-data/10m-ocean-bottom/">http://www.naturalearthdata.com/downloads/10m-raster-data/10m-ocean-bottom/</a> as it shows this issue quite well<br>
2. In the layer property window, retrieve the min/max values of RGB bands with these settings:<br> (<strong>) cumulative count cut 2 - 98%<br> (</strong>) Full (extend)<br> (*) Estimate (faster) (accurary)<br>3. Set contrast enhancement to "Stretch to MinMax" <br>
4. Set zoomed in resampling to "Cubic" <br>5.
Apply the change, then zoom in (raster zoom scale must be > 100% to
activate cubic resampling) a region of the raster (if using the above
ocean bottom raster, glitches easily to spot in southern china sea,
among other places)</p>
<p>You'll notice weird visual glitches which are not there if using the
two other types of resambling. I'm attaching a screenshot of the
problem [1].</p><p>[1] <a href="http://hub.qgis.org/attachments/5005/qgis-raster-resampling-visualglitch.jpg">http://hub.qgis.org/attachments/5005/qgis-raster-resampling-visualglitch.jpg</a><br></p>
</div>