cPic now can resize on all sides