CanvasRenderingContext2D.drawImage() with all arguments not working as expected, dWidth and dHeight are scaling the image to half the size
Reported by
pbogdan...@gmail.com,
Mar 10 2016
|
||||||
Issue descriptionExample URL: Any URL that uses the full version of the method Steps to reproduce the problem: 1. Create a canvas element 2. Use drawImage on a 2D context to display a image on canvas 3. Be sure to set width and height on canvas and to call the method with all the 9 args What is the expected behavior? If the width and height of the canvas is the same as dWidth and dHeight the image should be displayed full size on canvas like on desktop browser. What went wrong? The portion of the image is scaled to half the size. Does it occur on multiple sites: Yes Is it a problem with a plugin? No Did this work before? Yes On a previous version of chrome, don't recall which Does this work in other browsers? N/A Chrome version: 48.0.2564.95 Channel: stable OS Version: Flash Version:
,
Mar 12 2016
,
Mar 17 2016
According to our automated tests this method is working fine and has not regressed recently. So you are probably using drawImage in a very specific way that it is not covered by our tests. Could you provide a specific example that demonstrates the failure? Please either attach an html file or provide a URL of an existing web page or use jsfiddle.net to construct an example.
,
Mar 25 2016
I'm using a similar implementation as canvid.js. You can see the bug here on their demo example: http://gka.github.io/canvid The bug seems to be at their `drawFrame` function where it uses ctx.drawImage() with 9 args.
,
Apr 18 2016
,
Jun 1 2016
Moving this nonessential bug to the next milestone. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jun 17 2016
Can't repro in Chrome 51. Closing issue. If this problem is till occurring please update with a full reproduction case (example of a URL that has the failure, or a sample HTML file), and we will re-open. |
||||||
►
Sign in to add a comment |
||||||
Comment 1 by dtapu...@chromium.org
, Mar 10 2016