How to convert an array of pixel values(greyscale) to an image in Node?

前端 未结 0 1415
悲&欢浪女
悲&欢浪女 2020-12-30 16:09

I have pixel values(greyscale, alpha = 255) for an image of size 400x400 in a 1D array. I want to actually make this image out of the pixel data.

What I exactly want

相关标签:
回答
  • 消灭零回复
提交回复
热议问题