Merge pull request #25381 from gmatheu:v4.x_js_markdown_typo

Fixing code example on js image display documentation
pull/25383/head
Alexander Smorkalov 9 months ago committed by GitHub
commit 9ced486497
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      doc/js_tutorials/js_gui/js_image_display/js_image_display.markdown

@ -45,7 +45,7 @@ cv.cvtColor(dst, dst, cv.COLOR_***2RGBA);
Then, new an ImageData obj from dst:
@code{.js}
let imgData = new ImageData(new Uint8ClampedArray(dst.data, dst.cols, dst.rows);
let imgData = new ImageData(new Uint8ClampedArray(dst.data), dst.cols, dst.rows);
@endcode
Finally, display it:

Loading…
Cancel
Save