demo to show advanced image manipulation with canvas