PageSpeed Optimization Filters
This attempts to resize any image that is larger than the size called for by the width= and height= attributes on the <img> tag or an inline style= attribute. The original image is replaced only if the image file is smaller after resizing. Image resizing is lossy by nature, regardless of image file format.
pagespeed EnableFilters resize_images
pagespeed DisableFilters resize_images