1. A computer program product, tangibly embodied in an information carrier, comprising instructions operable to cause data processing apparatus to: define a parameterized surface interpolating an input raster image; receive image edge locations in the surface parameter space; and use the image edge locations to reparameterize the surface such that the shape of the surface is altered near edge locations so as to preserve edge sharpness.