[whatwg] Canvas element image scaling
Yp C
tccyp86 at hotmail.com
Sat Sep 18 18:50:30 PDT 2010
It depends on the graphic lib of the browser. I think you can use a higher resolution picture which will not be shown, then you draw part of the higher resolution pic as the thumbnail.
From: rob at mtn-i.com
To: whatwg at lists.whatwg.org
Date: Sat, 18 Sep 2010 22:25:12 +0100
Subject: [whatwg] Canvas element image scaling
Has the canvas spec changed the way the drawImage function scales before drawing to canvas? I’ve been testing using Chrome 6 and now with Chromium 7 and Firefox 4 Beta 6 the image scaling looks significantly different to the way Chrome 6 scales with drawImage. Just interested to know if I can get the later browser test versions to render with drawImage the same way as the current release of Chrome, if the new scaling I’m seeing is expected behaviour or just because they are test versions. If it is expected behaviour, it seems like a step backwards for image quality! You can see the images for yourself here: http://irrelon.com/test/ Thanks! Rob Evans
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100919/e5f8ca88/attachment-0002.htm>
More information about the whatwg
mailing list