See the help for the "photobooth" plugin