I have taken a photograph in RAW format of a coat of arms. It’s a large, highly detailed image. I want this coat of arms cut out of the photo and turned into a lossless .png with a transparent background. It’s slightly more complex because the edges of the image are very irregular, and I want to retain as much detail as possible.