Image return
3 posters
Page 1 of 1
Image return
Hey guys,
You probably can't answer this question yet, but something to keep in the back of your mind.
Since the camera group is the only one to return anything to the comms group to send to the GUI, how do you want the image returned? Do you want a pointer to a jpeg, do you want a char * with all the pixels, etc? Just let me know how you want it returned whenever you find out.
-Brian Peasley
You probably can't answer this question yet, but something to keep in the back of your mind.
Since the camera group is the only one to return anything to the comms group to send to the GUI, how do you want the image returned? Do you want a pointer to a jpeg, do you want a char * with all the pixels, etc? Just let me know how you want it returned whenever you find out.
-Brian Peasley
Peasley- Posts : 44
Join date : 2009-01-08
Re: Image return
I'm not exactly sure how we'll want the images returned yet, but for now I'm guessing we'll need the smallest encryption available. I'm pretty sure when using TCP/IP there's only a certain amount of bytes that are able to be sent in one packet, so having the smallest image size possible will most likely allow us to send the image in one packet (hopefully). Which saves us the hassle of having to split the image up then repairing it when it arrives at the server.
swesson- Posts : 28
Join date : 2009-01-09
Re: Image return
Ok for now I will assume that you are going to want a Jpeg, if you find out later that you want something different just let me know.
-Brian Peasley
-Brian Peasley
Peasley- Posts : 44
Join date : 2009-01-08
Re: Image return
I just wrote a program that sends a jpeg file over a socket and writes it to a file on the other side if that answers your question. It reads the file into a char* buffer, sends it byte for byte, receives it into a char* buffer, and then writes it to a jpg file.
rbrenan- Posts : 19
Join date : 2009-01-08
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|