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: [email protected]
To: [email protected]
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                                      
   

Reply via email to