Hello. The lua worker, read bytes from stream pipe, we know length buffer, but not know image type. How best to do, create an image object, `new_from_buffer(buff)` or `file.write(buff)` and `new_from_file(name)`? Thank.
Hello.
The lua worker, read bytes from stream pipe, we know length buffer, but not know image type.
How best to do, create an image object,
new_from_buffer(buff)orfile.write(buff)andnew_from_file(name)?Thank.