testing compressed image performance