Optimize images compression.