conversion of Hex image to JPEG

hey, i want to convert my hex image into jpeg .. i tried soo many methods but no results :( plz tell me how can i get a jpeg image plzzzz???

What format is the Hex e.g. Motorola Hex file format or some format you made up ?

i want to convert my hex image into jpeg

You're not thinking of doing this on an Arduino (except perhaps a Due or a Yun) I presume.

see the attachement … this is the output iam getting on serial monitor
iam using arduino mega 2560 and linksprite jpeg serial camera.
plz help me its urgent :frowning:

and thanks for ur replies :slight_smile:

HEXI 2.txt (24.5 KB)

Using the Python code from this site to convert your hex image into jpeg.

http://robotic-controls.com/learn/arduino/linksprite-jpeg-camera

binaryData14.jpg

oohh thANK YOUUUUU sooo veryy muchh :) :) :)

can u plz snd me the link so that i can download python too? :)

isshh_sidd: oohh thANK YOUUUUU sooo veryy muchh :) :) :)

can u plz snd me the link so that i can download python too? :)

Send you the link? I had include the link

http://robotic-controls.com/learn/arduino/linksprite-jpeg-camera

sorry, but i never use python before so bit confuse :frowning:
see the attachment … am i doing it right?

Just save the file with the extension of .py and double click to run it.

Jpg_Cov27.py (281 Bytes)

yup thanks alot.. its working :)

and just one more thing plz.. i want to save the hex code to some file or folder and not on sd card? is this possible? iam using arduino mega2560.