JSI Tip 8880. Windows XP SP2 reports 'Paint cannot save this file' when you attempt to save changes to a picture?

Jerold Schulman

January 6, 2005

1 Min Read
ITPro Today logo in a gray background | ITPro Today

When you attempt to save a changed picture that uses the EXIF (EXchangeable Image File) format, you receive:

.jpg

Paint cannot save this file. Save was interrupted, so your file has not been saved.

This bug will occur if the file size of the EXIF formatted picture is between 63,487 bytes and 65,535 bytes.

To workaround this behavior, you must change the file size:

1. Open a CMD.EXE window.

2. Type the following command and press Enter. Note that FQFN is the Fully Qualified File Name of the picture.

rundll32.exe shimgvw.dll,ImageView_Fullscreen FQFN

Example:

rundll32.exe shimgvw.dll,ImageView_Fullscreen "%userProfile%My DocumentsMy PicturesMyPicture.jpg"

3. Press CTRL+K.

4. If prompted, press OK.

5. Press CTRL+K, CTRL+K, and CTRL+K.

6. Press CTRL+S.

7. Save the file, possibly as a new name.

8. Open the file in Paint, make your changes, and save it.



Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like