I need a simple program that can capture mouse movements (from a tablet) and save them on the server (probably as a jpg, or I am open to other formats.) This way a person can sign with the tablet and I need to save that signature. This is a small part of a lager project I am writing, the rest of the project is done in php.