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
Ping! It would be nice to retun Uint8ClampedArray.
We use this module for benchmarking vertical/horizontal convolvers. Improper array type cause deoptimizations, because JS thinks that convolver function become polymorphic (at first pass it receives CanvasPixelArray from src, at second - Uint8CampedArray from internal buffers).
Of cause, workarounds possible, but it would be nice if canvas works as expected.
CanvasPixelArray
is deprecated per https://www.w3.org/Bugs/Public/show_bug.cgi?id=12586.I don't care, except
CanvasPixelArray
doesn't have aset
method that typed arrays have.Also encountered here by another user: http://stackoverflow.com/questions/21435027/node-js-canvas-implementation-with-uint8clampedarray
(Seeing if I understand this library well enough to submit a pull request...)
The text was updated successfully, but these errors were encountered: