To solve the problem of photo editing