What I am trying to do is pull image data over the network from a socket server, it will arrive as a string of raw compressed jpeg data, just as it is in a file. I want to convert this to a PImage without having to dump that data into a file on the hard drive and re-load it, is this possible?
If it helps here's a bit more info: On the server-side I have a script that captures an image from a webcam and saves it to the server's hard drive to be used by another portion of the script that waits for a client to request the image, which it dumps over a tcp/ip socket and gets received by the processing application to be displayed.
I know I could have the server break up the image into RGB and have it re-created client-side, but I lose out on the jpeg compression and add complexity and time for deconstructing and reconstructing the image.