1. A computer implemented method comprising: receiving a resizing request that includes parameters for resizing a user interface containing a plurality of visual elements; accessing, in response to the request, a set of one or more data files specifying: links to binary image data files for the plurality of visual elements; a set of nodes forming a plurality of vector paths for at least one of the plurality of visual elements; and a set of rules defining different image resizing properties for different vector paths of the plurality of vector paths; and creating a resized version of the user interface by modifying the plurality of visual elements according to the set of rules and to the parameters for resizing.