I want to stretch images, while preserving 4 corners intact. Similar stuff in iOS is setting capInsets, for UIImage.
Imagine a hash symbol (tic-tac-toe grid) on your image, with the corner squares being the part you don't want to distort.