Convert HEX to JPEG

Hi
I am using Linksprite JPEG Camera connected to arduino.
The output of my code gives me the HEX of a photo.
How to convert this HEX to JPEG?

Thanks :slight_smile:

The hex is just a convenient representation of the binary of the JPEG data for printing - it is, in effect, already JPEG.

I know that, but how can I represent that hex as a photo?

Use an appropriate JPEG decoder and a display device.

Can you please more specific?

If you know the name of a software or programming code, I would be glad.

When I want to view JPEG photos, I use a tablet, phone, TV, console, photoframe or PC.
I haven't got the patience to either write an Arduino JPEG decoder, or wait for it to decode an image.

my goal is to take photos from this camera and display it on a website using arduino
the result that I am getting is in HEX.
How would I represent it as a photo?

Does your JPEG image have a full set of segment markers?
Does the file have an appropriate extension?
If it doesn't, a JPEG decoder will spit it out, and you won't see an image.

Red_Cannon:
my goal is to take photos from this camera and display it on a website using arduino
the result that I am getting is in HEX.
How would I represent it as a photo?

You up load it to a web browser and that displays it. Give the file name a .jpg extension so the browser knows what to do with it.

I think you are getting hung up about this. It is a jpeg it is not a hex, if you have saved it right. If you haven't then convert two digits into one byte and save that but there should be no need for that.