MOD: compress image