Hello, I am working on the development of an algorithm to convert JEPG images to .c (565 format) to be able to send them by RF. The images will be stored in a SD module and arduino must create a file in the same SD with the .c, does anyone have an idea to implement this?
How many bytes are there in each image?
If what you want to do involves decoding the JPG then I suspect it is beyond the capability of an Arduino and, even if not, would be incredibly slow.
...R
If they're on an SD card, where does RF come into it?
(This reminds me of student days when we were set "what would be faster, an acoustic coupler, or a one inch tape sent via the postal system/motorcycle courier?")
Robin2:
How many bytes are there in each image?If what you want to do involves decoding the JPG then I suspect it is beyond the capability of an Arduino and, even if not, would be incredibly slow.
...R
the images are 4K or more or less 12 MB, but in the .c it is (4000 * 4000) * 16 = total bytes.
It doesn't matter if it takes 1 day or 2, what matters is that you can.
TheMemberFormerlyKnownAsAWOL:
If they're on an SD card, where does RF come into it?(This reminds me of student days when we were set "what would be faster, an acoustic coupler, or a one inch tape sent via the postal system/motorcycle courier?")
the SD acts as a buffer for the image, the photo is taken, it is saved in the sd, the arduino converts it to .c (it saves the .c in the sd) and then the tranceptor sends the .c
If you are sending it by RF, why do you want to decompress it first? That seems rather wasteful. You will have to send 10 to 100 times more data.
ElZaffra:
the images are 4K or more or less 12 MB, but in the .c it is (4000 * 4000) * 16 = total bytes.
It doesn't matter if it takes 1 day or 2, what matters is that you can.
4k x 4k x 16 is 256Mb
I am very curious to know what the application is where time does not matter at all. I wonder is it something illegal or anti-social?
...R
How are JPEG bytes different from any other bytes? For a file transmission lasting over an hour, you really need to implement error detection and recovery or you will be sending the same file every day for a month just to get one good copy.
Paul
Sorry!, i put al values bad, Its an BMP image, and i whan to know HEX color pixel by pixel, and send it on a array by RF. (nothing illegal)
ElZaffra:
Hello, I am working on the development of an algorithm to convert JEPG images to .c (565 format) to be able to send them by RF.
Which type of RF ?
ElZaffra:
Hello, I am working on the development of an algorithm to convert JEPG images to .c (565 format) to be able to send them by RF. The images will be stored in a SD module and arduino must create a file in the same SD with the .c, does anyone have an idea to implement this?
does the code(s) here not just do that?