[]byte to image

I am using libvips to process images. Try https://github.com/davidbyttow/govips !