Change createImageData to use imageData color setting
In the initial implementation, if createImageData(ImageData) is called, image will be convert to image data using the image setting of the canvas. I updated the default behavior to use the original color setting from the imageData. Bug:1118182 Change-Id: I8ed5932faa1678969825a958852b309492b52c1c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2582891Reviewed-by:ccameron <ccameron@chromium.org> Commit-Queue: Yi Xu <yiyix@chromium.org> Cr-Commit-Position: refs/heads/master@{#836403}
Showing
Please register or sign in to comment