Reputation: 165
So I have a HBITMAP
object that has all of the pixels that I need to send to a server via a socket (Winsock).
The thing is that it needs to be converted to PNG data, so all that needs to be sent is a struct and the server only has to write all that data in to a file.
The only ways I could find were just writing to a file and that's not what I want. Also I'd rather not use any more libraries, is this possible?
Upvotes: 1
Views: 46