Trim trailing spaces.
Losslessly compress images.