SparkFun will be closed May 25, 2015 for Memorial Day. Orders placed after 2pm on Friday the 22nd will ship out on Tuesday. Thanks!
Frequently Asked Questions
Mon-Fri, 9am to 5pm
U.S. Mountain Time:
Chat With Us
March 13, 2013
about 2 years ago
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, image_file_ptr) to write each byte to the .jpg file
The camera is powered at 5V with a Baud rate of 38400
No public wish lists :(
Forgot your password?
No account? Register one!