Running image processing in background