I want to load it from memory since I need to send the image in its current form to a client when it connects to the server through winsock. Converting it to a data array and sending the size of that array before the array itself so the client know how large the buffer needs to be seems like the best option.
Also, one of these days I swear I will understand the documentation better, think this is the second time I missed something so obvious even after looking over it four times. Thanks though!