Re: Canvas drawImage question

On 6/11/10 12:24 PM, Philip Taylor wrote:
> I can't think of many likely use cases where an image is used both as a
> visible part of the page and on a canvas

Fwiw, a number of demos I've seen do just this (you select a visible 
image and then something is done to it).

> (Currently drawImage's behaviour for not-yet-loaded images is defined in
> terms of the "complete" attribute, which seems to only exist on
> HTMLImageElement and not HTMLInputElement, so that behaviour would have
> to be defined differently if new image sources are added.)

Right, that's why I brought up the issue; I was implementing that behavior.

-Boris

Received on Friday, 11 June 2010 16:46:48 UTC