EyalAr / lwip

Light Weight Image Processor for NodeJS
MIT License
2.36k stars 231 forks source link

Raw BGRA #240

Closed mafrost closed 8 years ago

mafrost commented 8 years ago

How would I go about creating an image from a raw BGRA buffer?

greg-hornby-roam commented 8 years ago

This would be a nice feature to have. You can get a copy of the raw pixel buffer from image.__lwip.buffer(), but I don't know of anyway to create an image from a buffer like this

EyalAr commented 8 years ago

See here