[whatwg] Canvas putImageData - Can we scale?

Rob Evans rob at mtn-i.com
Fri Jun 4 10:05:01 PDT 2010


Hi,

 

                I wonder if this is the correct place to post this but I
cannot find any resources online as canvas is so new.

 

                After grabbing some image data from a canvas with the
getImageData call, I cannot find a way to put the image data onto a canvas
scaled down.

 

                If I use the canvas scale function and then put the image
data, no scaling occurs. Is there any way to scale with putImageData?

 

                If not I think it would be a useful addition to the
specification. I can imagine many situations where copying a section of the
canvas and applying scaling before pasting it back to the canvas would be
useful!

 

Thanks,

 

Rob Evans

CTO

mtn-i LTD

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100604/043ff9f1/attachment-0002.htm>


More information about the whatwg mailing list