Macos – Unable to save images with GIMP


When I attempt to save an image with GIMP, the save fails and GIMP displays an error message Error while saving <filename>. Could not save image:

enter image description here

The issue happens when I right click an image and select Open With ▸ Then, after editing, I choose Overwirte existing file. Worse, GIMP manages to truncate existing files to 0 (during an overwrite of an existing file), so the original file is lost.

Upon exiting GIMP, I can save the XCF file.

The problem started recently (perhaps since the install of the latest GIMP). The previosu two or three years were fine.

My setup is Mac OS X 10.8.5 (fully patched), and GIMP is 2.8.10 (which I believe is the latest). GIMP is installed in /Applications (just like past versions). I also tried deleting GIMP from the command line and reinstalling it.

Does anyone know why GIMP cannot save files?

Best Answer

The problem is with png only. When gimp saves to jpg, tiff or something else there aren't any error.

There is a bug for this

I tried the workaround from this link and it helped me

Menu - Image - Mode - Convert to Color Profile ...

Then just click "Convert" to convert it to "RGB workspace (sRGB built-in)"

Now exporting to PNG just works flawlessly.

Related Question