Tiff image corruption under windows 7 - by JStav

Status : 


Sign in
to vote
ID 771405 Comments
Status Active Workarounds
Type Bug Repros 0
Opened 11/16/2012 9:00:34 AM
Access Restriction Public


I have an application that was built with .NET 2.0 and it loads a TIFF format image from file. Under windows 7 the image is corrupted, while under XP that was not the case. The image appears to have its pixel values rounded to the hex pixel intensities of (00,11,22,33,..ee,ff). This effect is also present under windows 7 Paint, however other tiff viewers do not have this limitation. It appears to happen when the 8-bit TIFF has photometric mode set to MinIsBlack, and it doesn't happen when the 8-bit TIFF has a palette.

Sign in to post a comment.
Posted by Microsoft on 12/13/2012 at 3:22 PM
Please visit the Win8 Dev Center and go into the community discussions area ( http://dev.windows.com). Microsoft support professionals monitor these forums for suggestions and bugs.

- Windows Forms Product Team
Posted by Microsoft on 12/6/2012 at 6:05 PM
Thank you for reporting this issue. Customer feedback is a critical part of a successful, impactful software product. Unfortunately another part is the reality of schedules and the need to prioritize investments according to the objectives of the product. We have evaluated the issue that you have reported and at this point in the product's lifecycle, it does not meet the criteria to be addressed. This evaluation is carefully done and considers many aspects including the cost of the fix, implications of the change, and the number of reported instances of the issue.
Many customers have found it useful to discuss issues like this in the forums (http://www.microsoft.com/communities/forums/default.mspx) where Microsoft and other members of the community can recommend ways of achieving the behavior you are interested in.

Thank you,
The Windows Forms Product Team
Posted by Microsoft on 11/20/2012 at 11:27 PM
Thanks for your update. We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by JStav on 11/20/2012 at 6:34 AM
I have attached a VS2010 project that exhibits the same problem. It loads and zooms the image using the .NET framework. I am using Win7 SP1 64bit. If you zoom into the "bad" image you can see the distinct pixel transitions (which looks like dithering), while in the "good" image the pixel transitions are smooth and hardly visible. The two image files contain exactly the same pixel data, however the .NET load of the image is interpreting the data in the one file incorrectly. If you zoom on these images using windows 7 photo viewer, you will notice that you won't see the a difference in pixels between the "good" and the "bad" image (which is the correct behaviour).

Posted by Microsoft on 11/20/2012 at 12:36 AM
Thank you for you response. In order to fix the issue, we must first reproduce the issue in our labs. We are unable to reproduce the issue with the steps you provided. Could you please give us a demo project?

Microsoft Visual Studio Connect Support Team
Posted by JStav on 11/19/2012 at 7:14 AM
I added a video made with camstudio showing the files in the attached zipfile (gradient tifs.zip) being opened with windows photo viewer, irfanview, and the finally windows 7 paint. You'll notice the dithering-like effect when the final file is loaded in ms paint. This is the exact same behaviour that my application (using the .net framework) is seeing when loading images.
Posted by JStav on 11/19/2012 at 6:09 AM
Do you have some preferred way to sumbit a video? Thanks.
Posted by Microsoft on 11/19/2012 at 12:48 AM
Thank you for submitting feedback on Visual Studio and .NET Framework. In order to efficiently investigate and reproduce this issue, we are requesting additional information outlined below.

Could you please give us a video to demonstrate this issue so that we can conduct further research?

Please submit this information to us within 4 business days. We look forward to hearing from you with this information.

Microsoft Visual Studio Connect Support Team
Posted by Microsoft on 11/16/2012 at 9:51 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)