Applies ToWindows 7 Windows Server 2008 R2

Symptoms

You have a computer that is running Windows 7 or Windows Server 2008 R2. When you use the Image.Save method in GDI+ to save JPEG images on the computer, you encounter one of the following issues:

  • The image becomes corrupted when you save it.

  • An "ArgumentException" exception message is shown if you set the image rotation to 0 degrees when you save the image.

  • You cannot save an image that has no comments in the metadata file.Note The Exchangeable Image File Format (EXIF) specification allows JPEG images to have no comments in the metadata file.

  • You cannot save an image that has thumbnail data but that does not have a thumbnail compression metadata tag.

Cause

These issues occur because of some errors in the implementation of the Windows Imaging Component (WIC) JPEG codec.

Resolution

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 the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.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, contact 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:

http://support.microsoft.com/contactus/?ws=supportNote 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.

Prerequisites

There are no prerequisites for applying this hotfix.

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The global version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.

Windows 7 and Windows Server 2008 R2 file information notes

Important Windows 7 hotfixes and Windows Server 2008 R2 hotfixes are included in the same packages. However, hotfixes on the Hotfix Request page are listed under both operating systems. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows 7/Windows Server 2008 R2" on the page. Always refer to the "Applies To" section in articles to determine the actual operating system that each hotfix applies to.

  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the "Additional file information for Windows Server 2008 R2 and for Windows 7" section. MUM and MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintain the state of the updated components. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.

For all supported x86-based versions of Windows 7

File name

File version

File size

Date

Time

Platform

Windowscodecs.dll

6.1.7600.16641

1,011,200

22-Jul-2010

04:39

x86

Windowscodecs.dll

6.1.7600.20762

1,011,200

23-Jul-2010

04:42

x86

Gdiplus.dll

6.1.7600.16641

1,624,576

22-Jul-2010

04:23

x86

Gdiplus.dll

6.1.7600.20762

1,624,576

23-Jul-2010

04:24

x86

For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2

File name

File version

File size

Date

Time

Platform

Windowscodecs.dll

6.1.7600.16641

1,190,400

22-Jul-2010

05:51

x64

Windowscodecs.dll

6.1.7600.20762

1,190,400

23-Jul-2010

05:03

x64

Gdiplus.dll

6.1.7600.16641

2,165,248

22-Jul-2010

05:32

x64

Gdiplus.dll

6.1.7600.20762

2,164,736

23-Jul-2010

04:54

x64

Windowscodecs.dll

6.1.7600.16641

1,011,200

22-Jul-2010

04:39

x86

Windowscodecs.dll

6.1.7600.20762

1,011,200

23-Jul-2010

04:42

x86

Gdiplus.dll

6.1.7600.16641

1,624,576

22-Jul-2010

04:23

x86

Gdiplus.dll

6.1.7600.20762

1,624,576

23-Jul-2010

04:24

x86

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More Information

For more information about the Image.Save method, visit the following Microsoft Developer Network (MSDN) website:

General information about the Image.Save methodFor more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Additional file information

Additional file information for Windows 7 and for Windows Server 2008 R2

Additional files for all supported x86-based versions of Windows 7

File name

Update.mum

File version

Not applicable

File size

1,881

Date (UTC)

23-Jul-2010

Time (UTC)

10:55

Platform

Not applicable

File name

X86_60410cafeb660f9313effcd6220dc910_6595b64144ccf1df_1.1.7600.16641_none_7ba2e3bcc839b971.manifest

File version

Not applicable

File size

627

Date (UTC)

23-Jul-2010

Time (UTC)

10:55

Platform

Not applicable

File name

X86_667f5e28017fa75328653c1dee1095de_31bf3856ad364e35_6.1.7600.20762_none_cc8e98e92ad5db3b.manifest

File version

Not applicable

File size

700

Date (UTC)

23-Jul-2010

Time (UTC)

10:55

Platform

Not applicable

File name

X86_bee19a942d9c22efb1f72d89038f942b_31bf3856ad364e35_6.1.7600.16641_none_029bc46e28876747.manifest

File version

Not applicable

File size

700

Date (UTC)

23-Jul-2010

Time (UTC)

10:55

Platform

Not applicable

File name

X86_d84edcab3a98cff7852e6aab0f499ec7_6595b64144ccf1df_1.1.7600.20762_none_ff7390640801aa66.manifest

File version

Not applicable

File size

627

Date (UTC)

23-Jul-2010

Time (UTC)

10:55

Platform

Not applicable

File name

X86_microsoft-windows-windowscodec_31bf3856ad364e35_6.1.7600.16641_none_967f51d80254d5c1.manifest

File version

Not applicable

File size

91,448

Date (UTC)

22-Jul-2010

Time (UTC)

05:13

Platform

Not applicable

File name

X86_microsoft-windows-windowscodec_31bf3856ad364e35_6.1.7600.20762_none_96f44f151b81c6c4.manifest

File version

Not applicable

File size

91,448

Date (UTC)

23-Jul-2010

Time (UTC)

05:16

Platform

Not applicable

File name

X86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7600.16641_none_72f8d64b86155add.manifest

File version

Not applicable

File size

2,033

Date (UTC)

22-Jul-2010

Time (UTC)

05:14

Platform

Not applicable

File name

X86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7600.20762_none_5c2d19579fbb0732.manifest

File version

Not applicable

File size

2,033

Date (UTC)

23-Jul-2010

Time (UTC)

05:17

Platform

Not applicable

Additional files for all supported x64-based versions of Windows 7 and of Windows Server 2008 R2

File name

Amd64_0aa0dd970951b905aa66f4b084e931ab_6595b64144ccf1df_1.1.7600.16641_none_eec61b37483a9536.manifest

File version

Not applicable

File size

631

Date (UTC)

23-Jul-2010

Time (UTC)

10:55

Platform

Not applicable

File name

Amd64_55d4dab36536368b7aa451e085f1381f_6595b64144ccf1df_1.1.7600.20762_none_9f4e4694b4a9b6ce.manifest

File version

Not applicable

File size

922

Date (UTC)

23-Jul-2010

Time (UTC)

10:55

Platform

Not applicable

File name

Amd64_60410cafeb660f9313effcd6220dc910_6595b64144ccf1df_1.1.7600.16641_none_d7c17f4080972aa7.manifest

File version

Not applicable

File size

629

Date (UTC)

23-Jul-2010

Time (UTC)

10:55

Platform

Not applicable

File name

Amd64_667f5e28017fa75328653c1dee1095de_31bf3856ad364e35_6.1.7600.20762_none_28ad346ce3334c71.manifest

File version

Not applicable

File size

702

Date (UTC)

23-Jul-2010

Time (UTC)

10:55

Platform

Not applicable

File name

Amd64_7a642dc489a96077c596511b090bc05e_6595b64144ccf1df_1.1.7600.20762_none_e46bf9f767eae5ed.manifest

File version

Not applicable

File size

631

Date (UTC)

23-Jul-2010

Time (UTC)

10:55

Platform

Not applicable

File name

Amd64_856b05496a63ddb11ec1b736e645dbd5_31bf3856ad364e35_6.1.7600.20762_none_cd4259597e8077a5.manifest

File version

Not applicable

File size

1,048

Date (UTC)

23-Jul-2010

Time (UTC)

10:55

Platform

Not applicable

File name

Amd64_967026aa63f8ae083e7a24cfb6b0ce4b_31bf3856ad364e35_6.1.7600.16641_none_ffd739c664655849.manifest

File version

Not applicable

File size

704

Date (UTC)

23-Jul-2010

Time (UTC)

10:55

Platform

Not applicable

File name

Amd64_96e1ab2a6c7e4a4632a70a56f9ab6a8f_31bf3856ad364e35_6.1.7600.20762_none_7d66bf960b5efc57.manifest

File version

Not applicable

File size

704

Date (UTC)

23-Jul-2010

Time (UTC)

10:55

Platform

Not applicable

File name

Amd64_aa42f1bf4ec970f87565051f508e2e16_6595b64144ccf1df_1.1.7600.16641_none_ff142fea6a7f2178.manifest

File version

Not applicable

File size

922

Date (UTC)

23-Jul-2010

Time (UTC)

10:55

Platform

Not applicable

File name

Amd64_bee19a942d9c22efb1f72d89038f942b_31bf3856ad364e35_6.1.7600.16641_none_5eba5ff1e0e4d87d.manifest

File version

Not applicable

File size

702

Date (UTC)

23-Jul-2010

Time (UTC)

10:55

Platform

Not applicable

File name

Amd64_c8e836baa12bacb366a9d61c85ce21f9_31bf3856ad364e35_6.1.7600.16641_none_f73731ce2b4e2923.manifest

File version

Not applicable

File size

1,048

Date (UTC)

23-Jul-2010

Time (UTC)

10:55

Platform

Not applicable

File name

Amd64_d84edcab3a98cff7852e6aab0f499ec7_6595b64144ccf1df_1.1.7600.20762_none_5b922be7c05f1b9c.manifest

File version

Not applicable

File size

629

Date (UTC)

23-Jul-2010

Time (UTC)

10:55

Platform

Not applicable

File name

Amd64_microsoft-windows-windowscodec_31bf3856ad364e35_6.1.7600.16641_none_f29ded5bbab246f7.manifest

File version

Not applicable

File size

91,450

Date (UTC)

22-Jul-2010

Time (UTC)

06:24

Platform

Not applicable

File name

Amd64_microsoft-windows-windowscodec_31bf3856ad364e35_6.1.7600.20762_none_f312ea98d3df37fa.manifest

File version

Not applicable

File size

91,450

Date (UTC)

23-Jul-2010

Time (UTC)

06:10

Platform

Not applicable

File name

Amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7600.16641_none_2b4b9f74719931d7.manifest

File version

Not applicable

File size

2,039

Date (UTC)

22-Jul-2010

Time (UTC)

06:25

Platform

Not applicable

File name

Amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7600.20762_none_147fe2808b3ede2c.manifest

File version

Not applicable

File size

2,039

Date (UTC)

23-Jul-2010

Time (UTC)

06:11

Platform

Not applicable

File name

Update.mum

File version

Not applicable

File size

2,537

Date (UTC)

23-Jul-2010

Time (UTC)

10:55

Platform

Not applicable

File name

X86_microsoft-windows-windowscodec_31bf3856ad364e35_6.1.7600.16641_none_967f51d80254d5c1.manifest

File version

Not applicable

File size

91,448

Date (UTC)

22-Jul-2010

Time (UTC)

05:13

Platform

Not applicable

File name

X86_microsoft-windows-windowscodec_31bf3856ad364e35_6.1.7600.20762_none_96f44f151b81c6c4.manifest

File version

Not applicable

File size

91,448

Date (UTC)

23-Jul-2010

Time (UTC)

05:16

Platform

Not applicable

File name

X86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7600.16641_none_72f8d64b86155add.manifest

File version

Not applicable

File size

2,033

Date (UTC)

22-Jul-2010

Time (UTC)

05:14

Platform

Not applicable

File name

X86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7600.20762_none_5c2d19579fbb0732.manifest

File version

Not applicable

File size

2,033

Date (UTC)

23-Jul-2010

Time (UTC)

05:17

Platform

Not applicable

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.