Canvas2D: Multiple readback operations using getImageData are faster with the willReadFrequently attribute set to true. See: https://html.spec.whatwg.org/multipage/canvas.html#concept-canvas-will-read-frequently
So adding it may optimize the canvas for some browsers.
Chrome provides this warning:
So adding it may optimize the canvas for some browsers.