I'm trying to stretch an image leaving its edges unchanged.

For example, If there's an image of a rectangle with rounded corners, I want to stretch it without changing the radius of the rounded corners.

Is this possible in GEM?