image compressed and logging done