[whatwg] putImageData

2008-01-21 Thread Oliver Hunt
I was just doing some putImageData tests last night, and found that firefox does not allow putImageData to specify a target that extends beyond the bounds of the canvas. Given that getImageData can request bounds that extend beyond the canvas region (3.14.11.1.10) I would expect to be

Re: [whatwg] putImageData() and getImageData()

2007-05-13 Thread Mathieu HENRI
Anne van Kesteren wrote: On Sat, 12 May 2007 17:54:25 +0200, Anne van Kesteren [EMAIL PROTECTED] wrote: These features are nice but I don't think authors will understand that imagedata.height != canvas.height (likewise for width). Authors will just make something that works in their browser

[whatwg] putImageData() and getImageData()

2007-05-12 Thread Anne van Kesteren
These features are nice but I don't think authors will understand that imagedata.height != canvas.height (likewise for width). Authors will just make something that works in their browser and then assume it will work everywhere else. Which would horribly break. Even the more experienced

Re: [whatwg] putImageData() and getImageData()

2007-05-12 Thread Philip Taylor
On 12/05/07, Anne van Kesteren [EMAIL PROTECTED] wrote: These features are nice but I don't think authors will understand that imagedata.height != canvas.height (likewise for width). Authors will just make something that works in their browser and then assume it will work everywhere else. Which

Re: [whatwg] putImageData() and getImageData()

2007-05-12 Thread Philip Taylor
On 12/05/07, Philip Taylor [EMAIL PROTECTED] wrote: On 12/05/07, Anne van Kesteren [EMAIL PROTECTED] wrote: These features are nice but I don't think authors will understand that imagedata.height != canvas.height (likewise for width). Authors will just make something that works in their

Re: [whatwg] putImageData() and getImageData()

2007-05-12 Thread Anne van Kesteren
On Sat, 12 May 2007 17:54:25 +0200, Anne van Kesteren [EMAIL PROTECTED] wrote: These features are nice but I don't think authors will understand that imagedata.height != canvas.height (likewise for width). Authors will just make something that works in their browser and then assume it will

Re: [whatwg] putImageData() and getImageData()

2007-05-12 Thread Philip Taylor
On 12/05/07, Anne van Kesteren [EMAIL PROTECTED] wrote: The best way forward would probably be to get rid of canvas device pixels and just make such a pixel map a canvas pixel. This means that getImageData() and putImageData() work similarly to toDataURL() and drawImage(). If people really want