3

When saving any PNG image in paint to any directory (other image formats save fine), I receive the error:

enter image description here

A 0 byte PNG file is created, and deleted immediately after closing the error dialog.

enter image description here

This started abruptly a few months ago, and I thought it could be related to other installed programs. However, the problem persists even after terminating all non-essential processes.

How can this error be fixed?

1
  • i'd also try searching for another image editor, there are tons you can google. – Outdated Computer Tech May 5 '14 at 18:40
2

According to MS:

To work around this problem, follow these steps:

  1. Make a backup copy of the picture to prevent the loss of your picture.
  2. Open the picture in Windows Picture and Fax Viewer. To do this, in Windows Explorer, right-click the picture, point to Open With, and then click Windows Picture and Fax Viewer.
  3. Click either Rotate Clockwise or Rotate Counterclockwise.
  4. If you are prompted to continue, click Yes.
  5. Click either Rotate Clockwise or Rotate Counterclockwise as many times as needed to rotate the picture 360 degrees.
  6. Click Copy To to save the changes to your picture.

Another suggestion according to this.

  1. Minimize the Paint window and go to your Desktop.
  2. Right-click on the image you are trying to save in other format or extension.
  3. Click change tab at the upper right-hand corner of the window.
  4. Select among list of applications which can be used to open images from the window.
  5. Click 'Apply' and 'OK' to close the small window.
  6. Now maximize Paint and save the file in other format like PNG.
2
  • 2
    Made me laugh ;) – phoops May 5 '14 at 18:20
  • 1
    Thanks, but in my case this often occurs when saving cropped screenshots, so there is no original image. I suppose I could save as another file type and then convert, but that defeats the convenience. – 1'' May 6 '14 at 0:56
1

If nothing else works, check your environment variables.

Right click on My Computer, click Advanced System Settings, and click Environment Variables.

Make sure both TMP and TEMP in both User and System Variables are set to drives and folders that exist. Change them and create folders as necessary.

Paint needs these set right to create a temporary bitmap file so it can convert it to your target file format.

1
  • Thanks for your answer! I don't have Windows anymore, but I'm wondering if this would explain why only PNGs don't save. Wouldn't this affect all formats equally? – 1'' Apr 10 '16 at 23:17
0

Check the image file properties in Explorer to see if it needs 'unblocking'. This can occur, for example, when the file has been copied from Android to Windows.

Image file properties

Not the answer you're looking for? Browse other questions tagged or ask your own question.