Simple program for motion detection of png images