Image processing in cloud