Losslessly compressing image to help page speed