As others have pointed out, canvas scaling algorithm is not specified and is different in each browser.<div><br><a href="http://greggman.com/downloads/examples/canvas-test/test-01/canvas-test-01-results.html">http://greggman.com/downloads/examples/canvas-test/test-01/canvas-test-01-results.html</a></div>
<div><br></div><div><a href="http://greggman.com/downloads/examples/canvas-test/test-01/canvas-test-01.html">http://greggman.com/downloads/examples/canvas-test/test-01/canvas-test-01.html</a></div><div><br></div><div><br>
</div><div><div class="gmail_quote">On Sat, Sep 18, 2010 at 7:51 PM, Rob Evans <span dir="ltr"><<a href="mailto:rob@mtn-i.com">rob@mtn-i.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<p>Thanks I'll give that a go in the morning!</p>
<p>All the best,</p>
<p>Rob</p>
<p></p><blockquote type="cite"><div class="im">On 19 Sep 2010 03:42, "Boris Zbarsky" <<a href="mailto:bzbarsky@mit.edu" target="_blank">bzbarsky@mit.edu</a>> wrote:<br><br></div><p><font color="#500050"></font></p>
<font color="#500050"><div class="im">On 9/18/10 9:57 PM, Rob Evans wrote:<br>><br></div>
> Thanks for the reply. I’m already using high resolution ima...</font><p></p><div class="im">
Gecko will scale canvas images in one of two ways: either using a nearest-neighbor algorithm or using a more complicated (bilinear, bicubic, may depend on other details) algorithm which is slower but usually gives better results. You can control which is happening by setting mozImageSmoothingEnabled on the canvas 2d context (set to false to get nearest-neighbor and set to true to get the other).<br>
<br>
The default value there is true. Does setting it to false give you the Chrome 6 behavior, perchance? I'd be a little surprised if it does, but worth trying.<br><font color="#888888">
<br>
-Boris<br>
</font></div></blockquote><p></p>
</blockquote></div><br></div>