- From: <bugzilla@jessica.w3.org>
- Date: Tue, 21 Aug 2012 23:41:16 +0000
- To: public-html-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17577
rcabanie <cabanier@adobe.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |cabanier@adobe.com
Resolution| |WONTFIX
AssignedTo|dave.null@w3.org |cabanier@adobe.com
--- Comment #2 from rcabanie <cabanier@adobe.com> 2012-08-21 23:41:16 UTC ---
You need to create an offscreen canvas that you load your image in if you want
to manipulate its pixels. So:
- create a HTMLImageElement, load the image
- create a canvas element that has the same dimensions as the image
- call drawimage to put the image into the canvas
- call getimagedata, manipulate the pixels and call putimagedata
The offscreen canvas can now be rotated/scaled/clipped on your screen canvas.
--
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Tuesday, 21 August 2012 23:41:20 UTC