Re: [whatwg] Canvas element image scaling

2010-09-18 Thread Rob Evans
Thanks I'll give that a go in the morning! All the best, Rob On 19 Sep 2010 03:42, "Boris Zbarsky" wrote: On 9/18/10 9:57 PM, Rob Evans wrote: > > Thanks for the reply. I’m already using high resolution ima... Gecko will scale canvas images in one of two ways: either using a nearest-neighbor a

Re: [whatwg] Canvas element image scaling

2010-09-18 Thread Boris Zbarsky
On 9/18/10 9:57 PM, Rob Evans wrote: Thanks for the reply. I’m already using high resolution images and I cannot cut sections of the image off because I am not using canvas to create thumbnails, I’m using it to create a game engine. I guess this is a question I will have to take up with the Firef

Re: [whatwg] Please consider adding a couple more datetime types - type="year" and type="month-day"

2010-09-18 Thread timeless
On 8/31/10, Ian Hickson wrote: > On Tue, 10 Aug 2010, Ryosuke Niwa wrote: >> But there are users who don't know how to convert from "¾¼ÏÂxxǯ" to >> year 19xx (like my parents and grandparents who has to spend at least >> half a minute recalling their birth years in Gregorian calendar), and >> onl

Re: [whatwg] Canvas element image scaling

2010-09-18 Thread Rob Evans
Hey ya, Thanks for the reply. I'm already using high resolution images and I cannot cut sections of the image off because I am not using canvas to create thumbnails, I'm using it to create a game engine. I guess this is a question I will have to take up with the Firefox and Chro

Re: [whatwg] Canvas element image scaling

2010-09-18 Thread Yp C
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: r...@mtn-i.com To: whatwg@lists.whatwg.org Date: Sat, 18 Sep 2010 22:25:12 +0100 Subject: [whatwg] Canv

Re: [whatwg] Canvas element image scaling

2010-09-18 Thread Tab Atkins Jr.
On Sat, Sep 18, 2010 at 2:25 PM, Rob Evans wrote: > Has the canvas spec changed the way the drawImage function scales before > drawing to canvas? It doesn't specify how the function scales at all: "Note: This specification does not define the algorithm to use when scaling the image, if necessary.

[whatwg] Canvas element image scaling

2010-09-18 Thread Rob Evans
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 c

Re: [whatwg] Web Storage, Editor's Draft 20 August 2010 - Request for enhancement

2010-09-18 Thread Jim Williams
I appreciate the comments on localStorage; they help me to better understand its uses and inherent limitations. On 9/17/2010 3:09 PM, Aryeh Gregor wrote: On Tue, Sep 14, 2010 at 7:52 AM, Jim Williams wrote: 1. I would like the browser vendors to all use the same implementation of localStora