An epub is just a zip file. Use any unzip program to extract the image from the epub. Then work on the image in your graphics program.
When done, open Sigil, delete the file in the section and in the images folder to the left side. Then file new, add existing file, place your cursor where you want the image and then edit insert image.
You can do this also by removing the image from the zip file and adding back the fixed one, but files have to be in a certain order in an epub and this avoids that problem. It also lets you see your work so you are sure you have done what you want. Then save the epub under a NEW name, in case something goes wrong.
|