TIFF documents are corrupted when you rotate them in Windows Picture and Fax Viewer on a computer that is running Windows XP SP3

Support for Windows XP has ended

Microsoft ended support for Windows XP on April 8, 2014. This change has affected your software updates and security options. Learn what this means for you and how to stay protected.

Considering the following scenario:
  1. You have a computer that is running Windows XP Service Pack 3 (SP3).
  2. You open a TIFF document by using Windows Picture and Fax Viewer.
  3. You rotate the TIFF document either clockwise or counterclockwise.
In this scenario, the TIFF image becomes a garbage image on the screen, and the file is corrupted on the hard disk.

  • This problem only occurs to a TIFF document that is compressed in CCITT Group 3 format with 2D encoding.
  • This problem does not occur if the TIFF document is set to read-only.
  • When you use the Copy to feature in Windows Picture and Fax Viewer to save another copy of the TIFF document, the saved copy is also corrupted. However, the original file is not affected.
When a TIFF image is rotated in Windows Picture and Fax Viewer, the image is outputted. Then, the image is recompressed again.

This problem occurs because Windows Picture and Fax Viewer outputs a TIFF file in CCITT Group 3 format with 1D encoding. Therefore, when Windows Picture and Fax Viewer opens a TIFF file in CCITT Group 3 format with 2D encoding, the file is corrupted.
To resolve this problem, install the following hotfix. After you install this hotfix, Windows Picture and Fax Viewer is able to save a TIFF file in the correct format and encoding. However, it does not recover previously corrupted TIFF files.

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.


To apply this hotfix, you must have Windows XP SP3 installed on the computer.For more information, click the following article number to view the article in the Microsoft Knowledge Base:
322389 How to obtain the latest Windows XP service pack

Restart requirement

You must restart your computer if the affected Shimgvw.dll file is being used when you apply this hotfix.

Hotfix replacement information

This hotfix does not replace other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Windows XP with Service Pack 3, x86-based versions
File nameFile versionFile sizeDateTimePlatform
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
CCITT is the abbreviation of International Telegraph and Telephone Consultative Committee (CCITT). CCITT Group 3, together with CCITT Group 4 and Lempel-Ziv-Welch (LZW) are supported compression options in TIFF.

Article ID: 970922 - Last Review: 10/07/2011 20:02:00 - Revision: 2.0

Microsoft Windows XP Professional, Microsoft Windows XP Home Edition

  • kbautohotfix kbexpertiseinter kbfix kbbug kbsurveynew kbqfe KB970922