in Server sketch, i take a picture with Processing’s Video library and send a byte array to client’s buffer
like this,,
/**
void mousePressed() {
capture.save(“temp.jpg");
byte[] b=loadBytes(“temp.jpg");
server.write(b);
}
*/
but i have no idea how to convert this byte array to PImage format in Client’s sketch.
is there any byte[] to Pimage converting method in processing???