1. A method for resizing an image comprising: receiving, at one or more data processors, a request for a content item to be displayed with a resource; selecting, using the one or more data processors, a content item comprising an image having a plurality of pixels; identifying, by the one or more data processors, a seam cost threshold value, and a step size; determining, by the one or more data processors, a saliency score for each pixel of the plurality of pixels of the image, the saliency score for each pixel is based on at least one of: a logo detection saliency value, a text detection saliency value, or a face detection saliency value; determining an average saliency value for the image based on the determined saliency scores; determining a set of seams for the image based on the determined saliency scores if the average saliency value is below an average threshold value, wherein each seam of the set of seams has a saliency cost below the seam cost threshold value; resizing, by the one or more data processors, the image based on a set of resizing seams, wherein the set of resizing seams comprises a number of seams equal to the minimum of a number of seams of the determined set of seams and the step size; and outputting display data to effect display of the resized image.