Does anyone know why my .jpg isn't viewable? Here are some details:
Opening in a hex editor it begins FF D8 and ends FF D9.
In notepad it's a load of random ASCII characters so I know I haven't saved the hex as ASCII.
The image is read in one big chunk as I couldn't get small chunks working.
I use fwrite(temp, 1, 1, imagefileptr) to write each byte to the .jpg file
The camera is powered at 5V with a Baud rate of 38400