compress events images