basic image capturing code

Signed-off-by: Victor Porras <vporras@ymail.com>