Lossy compress images