We will be closed on November 25, 2021 and November 26, 2021 in observance of the Thanksgiving holiday. We will resume normal operations on November 29, 2021. Wishing you a safe and happy holiday from all your friends at SparkFun!
Receive a free SparkFun USB Thumb Drive with every order this weekend. Details.
Track My Order
Frequently Asked Questions
International Shipping Info
Mon-Fri, 9am to 12pm and
1pm to 5pm U.S. Mountain Time:
March 13, 2013
about 9 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 :(