The usual periodic image compression crunch

Saves a fair amount of load.