Simple program that crops arbitrary background