Automattic / Automattic/node-canvas
drawImage stops drawing after some offset
- Dominant language
- JavaScript
- Stars
- 10.7k
- Forks
- 1.2k
- Avg merge
- 4d 8h
- Merged PRs (30d)
- 1
Description
## Issue
Using drawImage
stops working when drawing with some offset from 0, 0 point. There's no error or anything it just stops redrawing source canvas onto target canvas at specific place (seems to be dependant on the source canvas size).
## Steps to Reproduce
Install canvas package, then run one of the following gist files (depending on canvas package version) https://gist.github.com/jan-j/15a7768a1962753721b509f5c6b9efc8.
Increase source size if can't reproduce, because I've noticed different behaviour between 2 devices.
Example output (should be whole red)

## Environment
* Version of node-canvas: 2.0.0-alpha.9 or 1.6.9
* Version of node: 8.9.4 or 6.9.0
* Version of GTK: 2.22.1
* Environment: Windows 10 64bit
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.