Send Image through radio transmission

Hi. What is the best way to send a picture through a radio transmission? Serialize all bytes? I dont know how to reconstruct the image after it reaches the destination.

Thanks.

There is no best way. define best for me please....
The way I should do it is as follows

Sending:
1: send length of the file 4 bytes.
2: send the file byte for byte
3: calculate the checksum of all bytes send CRC-32 or CRC-16 (resp 4 - 2 bytes) ==> to see if there were errors
4: send the checksum

receiving
1: get length and allocate a file of that size
2: write byte after byte to that file
3: calculate the checksum of all bytes received
4: receive the senders checksum and compare this with the calculated one.

If you tell (far) more details about the purpose, sender receiver etc we can provide better help,

Ok, thanks, but how I can convert all bytes in a image file?

Ok, thanks, but how I can convert all bytes in a image file?

Convert them to what? Chocolate pudding?

Why do you think you need to convert them?

PaulS:

Ok, thanks, but how I can convert all bytes in a image file?

Convert them to what? Chocolate pudding?

Why do you think you need to convert them?

What I am trying to explain is something like that:

Sending:
Send ( Serialize("image.jpg") )

Receiving:
ConvertToImage(ArrayBytes)

or I'm not understanding this...?

An image file is a file. A file is a collection of bytes. Open the file. Read a byte, send a byte. Repeat until EOF. Close the file.

On the receiving end, open a file. Read a byte, write it to the file. Repeat until EOF. Close the file.

PaulS:
An image file is a file. A file is a collection of bytes. Open the file. Read a byte, send a byte. Repeat until EOF. Close the file.

On the receiving end, open a file. Read a byte, write it to the file. Repeat until EOF. Close the file.

Thanks PaulS, I thought it was more difficult and I didn't think it was so simple.