EPS files on Mac

It used to be possible to view .eps files in Mac Preview. This was very convenient for viewing a quick image. In Sonoma, that ability was removed to avoid previewing malware.

Ok. But now I need a tool to open .eps files. Preferably a free or cheap one. I know Adobe Illustrator can do it, but that’s not cheap.

What didn’t work

Here’s what I tried that didn’t work

  • GIMP – showed the image with poor resolution for a few seconds than crashed. The. second time, it crashed right away. I tried redownloading and now Gimp says it can’t interpret file.
  • Skim – Didn’t open EPS files
  • Open office – shows just a box, not the image
  • Inkscape – ignores the request to open the file

What did work

I then abandoned trying to actually open the EPS file since I don’ edit them. There was some about converting to PDF. But images preview better. So I went with converting to png.

I found a Stack Overflow post suggesting using ghostscript. I was able to run a one liner and get all of them as .png. Now I can preview again!

find . -type f -name '*.eps' -exec gs -dSAFER -dBATCH -dNOPAUSE -dEPSCrop -sDEVICE=png16m -r600 "-sOutputFile={}.png" {} \;  

Leave a Reply

Your email address will not be published. Required fields are marked *