Resize and compress preview.gif