I have an EPS file with transparency. How can I convert it to PNG with GIMP and preserve transparency?
Edit: I tried opening it in GIMP and exporting as PNG. Didn't work.
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It only takes a minute to sign up.Sign up to join this community
Photoshop could do the conversion easily - EPS would be loaded with transparency. Here's a simple EPS opened in Photoshop (no edits done):
I guess you are not going to use Photoshop nor other commercial stuff which could do the job.
There's an earlier answer which suggests converting the background to transparent with color to alpha in GIMP. It's a good idea as long as the image doesn't contain white. Insert alpha channel with Layer > Transparency if there's none.
Nearly white can be handled, for ex. those greys stay opaque if you adjust the treshold sliders properly:
If there's in the image much white that cannot be protected easily with a selection, color to alpha doesn't do the job. In this case the background removal can be tiresome.
As a fast workaround without installing anything try website Photopea https://www.photopea.com
It's a surprisingly well working Photoshop imitation for RGB images (it knows nothing of CMYK printing). Open your EPS there and export as PNG. Use option "Do not include palette" if you want your PNG as RGB image, not as indexed color image.