You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
getImageData fixes when rectangle is outside of canvas
fix a crash in getImageData if the rectangle is outside the canvas
return transparent black pixels when getting image data outside the canvas
remove dead code, add comments
Fixes#2024Fixes#1849
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,8 @@ project adheres to [Semantic Versioning](http://semver.org/).
15
15
* Support for accessibility and links in PDFs
16
16
17
17
### Fixed
18
+
* Fix a crash in `getImageData` when the rectangle is entirely outside the canvas. ([#2024](https://github.com/Automattic/node-canvas/issues/2024))
19
+
* Fix `getImageData` cropping the resulting `ImageData` when the given rectangle is partly outside the canvas. ([#1849](https://github.com/Automattic/node-canvas/issues/1849))
0 commit comments