Added extra methods to paint images partially.