I need to put a date and time stamp on a bitmap, compress it to jpeg and measure differences between pictures (effectively motion detection). I'm not fussed if I use bitmaps or jpegs for the motion detection although presumably bitmaps are easier.
At the moment, I'm capturing said bitmap from a webcam and saving it to disk. Presumably I need to load this into some bitmap structure...?
Any help with this would be appreciated as I really haven't done any imaging code at all.
I'm writing this in a C windows application and my MFC experience is er...non-existent.