Added image capture function
must commit swc too....#$%#