created task to compressed image