1. A system, comprising: one or more processors; and a memory coupled to the one or more processors and storing program instructions executable by the one or more processors to implement: accessing data representing an image; determining a frequency of one or more pixel values of the image; determining a respective energy value for each pixel of the image dependent, at least in part, on said determining a frequency of the one or more pixel values, wherein the energy values indicate the importance of each pixel with respect to resizing operations; identifying a seam of the image having a lowest cost, wherein the cost of the seam is dependent on the respective energy values of pixels of the seam; and performing a resizing operation on the image along the identified seam to produce a resized version of the image.